Forums Archive Index > SmartMenus 5 > Open links in same page

Author: hkba01168

Date: 26 Nov 2005 8:47 am

All my links open in a new page; could you please let me know how to make them open in the same page; the site does not use frames.

Regards


Author: smartmenus

Date: 26 Nov 2005 3:48 pm

Yep, just open your configuration file (e.g. s_arrays.js) and change the value of the s_target variable like this:

// === 2 === Default TARGET for all the links
// for navigation to frame, calling functions or
// different target for any link look at
// IMPORTANT HOWTOS 1 NOTES in the Manual
s_target='self';//(newWindow/self/top)


Author: hkba01168
Subject: Open in Same Page

Date: 27 Nov 2005 4:53 am

Thanks for your help; it's strange but I did that yesterday and it didn't work but today it does. Very much appreciated.

Kind regards