I am trying to get the Scrollable Menu Links to work with php. I have this working in FireFox both 2 and 3 however I can not get it to work in IE 6 or 7. In fact in 6 it doesn't even display right. I haven't checked Safari yet but typically I have found that if it works in FF it with in Safari also. I have changed the height and width variables, the scroll images, the direction to reverse and in my style I have included overflow-x:hidden;
I have made to the script in a couple of other ways also. They are below:
I changed the top and left margins and the variable menucontents:Code:document.write('<span id="temp" style="visibility:hidden;position:absolute;top:0;left:0">'+menucontents+'</span>')
the variable menu_link comes from a while loop from a sql statement.Code:var menucontents='<nobr><?php echo $menu_links; ?></nobr>'
Code:$menu_links .= "<div class=\"links\"><div class=\"link_text\"><a href=\"".$row_links['Link']."\" title=\"".$row_links['Title']."\" target=\"_blank\">".$row_links['Title']."</a></div></div>";
any help you can give would be awesome. I have looked at this for a couple of days now and can not figure this out. A link to an example is below: https://www.wku.edu/Dept/Support/Stu...s_new/test.php



Reply With Quote
Bookmarks