PDA

View Full Version : Drop down/ Overlapping Content script quick fix



dsws
12-30-2008, 08:36 AM
1) Script Title: Drop down/ Overlapping Content script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/overlapcontent.htm

3) Describe problem: Just a minor fix I came up with the script, the problem was, using the Back button on IE after submitting a form from the script, made the link call http:/// as the script was deactivated the with IE on back button use and activated the link, FF was fine... for IE, reloading the page after the back button was used reloaded in the script correctly...

The solution I came up with, I have the mouseover set to click btw, but the solution was, remove the href="http//"

from this...

<a href="http://www.dynamicdrive.com" id="searchlink" rel="subcontent">Search DD</a>

I turned into

<a id="contentlink6" rel="subcontent6" style="cursor: pointer; color: #0000ee;">Link Here</a>

Just thought Id turn you all on to this little bit of info, as you are some of the best of the best script writters with a out of this world lessons and scripts and css solutions to a ton of things, just a thank you for what you have all givin the www of coders out there to work with...

Peace and have a great new year,,, :-)