![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
moe wrote: Hi, my scroll bar stopped working on my website with IE7, firefox works fine. The middle mouse button will scroll the page in IE7. Any ideas? website www.ramboblueberries.com Gosh. I'm not sure where to start. Perhaps it has something to do with all that JavaScript.. there appears to be a browser-sniffer in there. |
|
You could start here, I suppose: http://validator.w3.org/check?verbos...rr ies.com%2F This page is not Valid HTML 4.01 Transitional! Result: Failed validation, 74 Errors http://jigsaw.w3.org/css-validator/v...berries.com%2F One CSS error, many warnings. |
#3
| |||
| |||
|
|
Beauregard T. Shagnasty wrote: moe wrote: Hi, my scroll bar stopped working on my website with IE7, firefox works fine. *The middle mouse button will scroll the page in IE7. Any ideas? * websitewww.ramboblueberries.com Gosh. I'm not sure where to start. Perhaps it has something to do with all that JavaScript.. there appears to be a browser-sniffer in there. My money on the JavaScript with the onmousemove trap. Of course when is see function ddN4(whatDog){ * *if (!isN4) return; * *N4=eval(whatDog); * *N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP); * *N4.onmousedown=function(e){ * * *N4.captureEvents(Event.MOUSEMOVE); * * *N4x=e.x; * * *N4y=e.y; * *} * *N4.onmousemove=function(e){ * * *if (isHot){ * * * *N4.moveBy(e.x-N4x,e.y-N4y); * * * *return false; * * *} * *} * *N4.onmouseup=function(){ * * *N4.releaseEvents(Event.MOUSEMOVE); * *} } it tells a lot... You could start here, I suppose: http://validator.w3.org/check?verbos...2Fwww.ramboblu... This page is not Valid HTML 4.01 Transitional! Result: * *Failed validation, 74 Errors http://jigsaw.w3.org/css-validator/v...s2&warning=2&u... One CSS error, many warnings. Of course all these errors don't help. To OP dump the "dd" JavaScript and I bet your scrollbar will function. -- Take care, Jonathan ------------------- LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com |
#4
| |||
| |||
|
|
Hi, I pulled out the below script and it seems not to help. I added this layer page for updated news to catch the viewer eye. Was not sure what to use and wanted to get around the popup blockers. If I remember the IE7 scroll bar with mouse pointer stopped working after I added it, I am not 100% sure. I should probably go pull out the layer and see if it works? I added to many changes at that time. Most of the time I use the wheel scroll to nav, over looked it. |
#5
| |||
| |||
|
|
Jonathan N. Little wrote: Beauregard T. Shagnasty wrote: moe wrote: Hi, my scroll bar stopped working on my website with IE7, firefox works fine. *The middle mouse button will scroll the page in IE7. Any ideas? * websitewww.ramboblueberries.com Gosh. I'm not sure where to start. Perhaps it has something to do with all that JavaScript.. there appears to be a browser-sniffer in there. My money on the JavaScript with the onmousemove trap. Of course when is see function ddN4(whatDog){ * *if (!isN4) return; N4 (Netscape 4) is sooo last century, isn't it? Moe asked: *What is strict verses transitional, new standards? New about .. ten years ago? Transitional is for updating legacy pages when you don't have the time to completely separate presentation from content. Strict is used for new work, where all the presentation is done with CSS, and there is no old, for example, <font> type code mixed in with the content. You have some bits in there... *<p align="center" class="style11" where the center should be in the CSS class. You also didn't assign a background color to body, so I see my default purple. I take it you are using some sort of WYSIWYG generator. Most of these do a poor job of producing modern code. And please take the time to read the fontsize page I posted, as your content is too small for me to read. Using 100% for content font size guarantees all visitors will view in their chosen size. -- * *-bts * *-Friends don't let friends drive Vista- Hide quoted text - - Show quoted text - |
#6
| |||
| |||
|
|
moe wrote: Hi, I pulled out the below script and it seems not to help. *I added this layer page for updated news to catch the viewer eye. *Was not sure what to use and wanted to get around the popup blockers. *If I remember the IE7 scroll bar with mouse pointer stopped working after I added it, I am not 100% sure. *I should probably go pull out the layer and see if it works? *I added to many changes at that time. *Most of the time I use the wheel scroll to nav, over looked it. Because you did not pull the initializing part that hooks the onmousemove. I just listed the part that showed how really ancient the script was and that modern browsers would not be effected (snicker, snicker, yeah even IE7 is still an old browser in a new pretty skin IMO) Go in an disable "Active Scripting" and your scrollbar will work. Now for a more permanent fix, the part that initializes the function is function ddInit(e){ * *topDog=isIE ? "BODY" : "HTML"; * *whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer"); * *hotDog=isIE ? event.srcElement : e.target; * *while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){ * * *hotDog=isIE ? hotDog.parentElement : hotDog.parentNode; * *} * *if (hotDog.id=="titleBar"){ * * *offsetx=isIE ? event.clientX : e.clientX; * * *offsety=isIE ? event.clientY : e.clientY; * * *nowX=parseInt(whichDog.style.left); * * *nowY=parseInt(whichDog.style.top); * * *ddEnabled=true; * * *document.onmousemove=dd; * *} } But don't just remove that, remove it all from the script language="JavaScript1.2" to the /script -- Take care, Jonathan ------------------- LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com |
#7
| |||
| |||
|
Hi, take it all out, ugg ? .. *what can be used to advertise, to myviewers/customers (something that is easy to find) that popup blockers will not block (a method would be layering?) to let them know of current news dates, etc? thanks for your help Rene On Mar 26, 2:37*pm, "Jonathan N. Little" <lws4... (AT) central (DOT) net> wrote: moe wrote: Hi, I pulled out the below script and it seems not to help. *I added this layer page for updated news to catch the viewer eye. *Was not sure what to use and wanted to get around the popup blockers. *If I remember the IE7 scroll bar with mouse pointer stopped working after I added it, I am not 100% sure. *I should probably go pull out the layer and see if it works? *I added to many changes at that time. *Most of the time I use the wheel scroll to nav, over looked it. Because you did not pull the initializing part that hooks the onmousemove. I just listed the part that showed how really ancient the script was and that modern browsers would not be effected (snicker, snicker, yeah even IE7 is still an old browser in a new pretty skin IMO) Go in an disable "Active Scripting" and your scrollbar will work. Now for a more permanent fix, the part that initializes the function is function ddInit(e){ * *topDog=isIE ? "BODY" : "HTML"; * *whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer"); * *hotDog=isIE ? event.srcElement : e.target; * *while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){ * * *hotDog=isIE ? hotDog.parentElement : hotDog.parentNode; * *} * *if (hotDog.id=="titleBar"){ * * *offsetx=isIE ? event.clientX : e.clientX; * * *offsety=isIE ? event.clientY : e.clientY; * * *nowX=parseInt(whichDog.style.left); * * *nowY=parseInt(whichDog.style.top); * * *ddEnabled=true; * * *document.onmousemove=dd; * *} } But don't just remove that, remove it all from the script language="JavaScript1.2" to the /script -- Take care, Jonathan ------------------- LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com- Hide quoted text - - Show quoted text - |
#8
| ||||
| ||||
|
|
I removed the script to script to test and left the script for the ilayer in the page. The IE7 did start scrolling with the left click mouse button The layer still shows, but the close button does notwork. Is it possible to close the layer and use it w/o the script I removed. I could clean up the ilayer and add a close function? I got the script from codelifter dot com, talked to the guy about my mysterious issues and he said it was another error in my other javascript, imagine that, I wonder if he had written it now. |
|
I was trying to correct the validation error "cursor:hand", tried Because it is "cursor: pointer", "cursor: hand" was MS's proprietary |
|
"auto" and something else, those did not work. |
|
Also, was getting error with the "height=36" |
#9
| |||
| |||
|
|
I removed the script to script |
#10
| |||
| |||
|
|
What is strict verses transitional, new standards? |
![]() |
| Thread Tools | |
| Display Modes | |
| |