Why is it that the following does not seem to do anything:
<script type="text/javascript">
if (document.width <= 1200)
{
document.getElementById("linkbox").className = "linkboxsmall";
}
</script>
the class linkboxsmall shows the linkbox mostly off screen so it is less intrusive. But this class change doesn't seem to happen in firefox or other browsers. It does work in chrome.
The page is bambi4.co.uk/programs/gest
3 replies to this topic
#1
Posted 02 September 2011 - 08:14 AM
|
|
|
#2
Posted 02 September 2011 - 09:00 AM
Have you tried using FireBug plugin for Firefox, to see what's happening? Note: I can't find the code you used anywhere on the linked page.
#3
Posted 02 September 2011 - 10:50 AM
I have updated new code and am testing it now.
---------- Post added at 07:50 PM ---------- Previous post was at 06:01 PM ----------
That seems to have fixed it. does it work for you?
---------- Post added at 07:50 PM ---------- Previous post was at 06:01 PM ----------
That seems to have fixed it. does it work for you?
#4
Posted 03 September 2011 - 06:53 AM
Yes it work (under ubuntu firefox 5.0)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









