my coding is working in mozilla firefox.but not working in Internet explorer.plz give suggestion to rectify this problem
code working in mozilla firefox,but not working in internet explorer
Collapse
X
-
Tags: None
-
Originally posted by menakasrinivasa gammy coding is working in mozilla firefox.but not working in Internet explorer.plz give suggestion to rectify this problemComment
-
Originally posted by senakaThe reason to your problem is the different implimentations of javascript (certain methods) in different browsers. Your code will need to be slightly modified to suit various browser conditions. In order to help you through please post your code below.Comment
-
Originally posted by chunk1978but some stuff just doesn't work in IE or Safari, like disabling select menu options (which works fine with Firefox)...Comment
-
Originally posted by senakaIt is upto the people who make the browsers to impliment support for the methods that we use in javascript. If they don't we can't help. Some methods may have alternative versions that work on alternative browsers, whilst there may be methods that work only on one browser. What do you exactly mean here by select menu options? which is the one that you want to disable?
what i mean by a select menu are the pull down menus in HTML forms... it is possible to disable options within the menus in Firefox, but this disabling does not work with IE or SafariComment
-
Originally posted by senakaThe reason to your problem is the different implimentations of javascript (certain methods) in different browsers. Your code will need to be slightly modified to suit various browser conditions. In order to help you through please post your code below.
scrolling the partcular text.this is scrolling in mozilla firefox browser.But not scrolling in Internet explorer.but display the text.
plz suggest.
code is:
[HTML]<div id="datacontain er1" style="position :absolute;left: 0px;top:1px;wid th:100px" onMouseover="sc rollspeed=0" onMouseout="scr ollspeed=cache" >
</div>
<script type="text/javascript" src="ajaxJsScro ll.js">
</script>
<script language="javas cript" type="text/javascript">
//Specify speed of scroll. Larger=faster (ie: 5)
var scrollspeed=cac he=2;
//Specify intial delay before scroller starts scrolling (in miliseconds):
var initialdelay=50 0;
function initializeScrol ler()
{
dataobj=documen t.all? document.all.da tacontainer : document.getEle mentById("datac ontainer1");
dataobj.style.t op="5px";
setTimeout("get dataheight()", initialdelay);
}
function getdataheight()
{
thelength=datao bj.offsetHeight ;
if (thelength==0)
{
setTimeout("get dataheight()",1 0);
}
else
{
scrollDiv();
}
}
function scrollDiv()
{
dataobj.style.t op=parseInt(dat aobj.style.top)-scrollspeed+"px ";
if (parseInt(datao bj.style.top)<t helength*(-1))
{
dataobj.style.t op="5px";
}
setTimeout("scr ollDiv()",100);
}
if (window.addEven tListener)
{
window.addEvent Listener("load" , initializeScrol ler, false);
}
else if (window.attachE vent)
{
window.attachEv ent("onload", initializeScrol ler);
}
else
{
window.onload=i nitializeScroll er;
}
showHint('dummy ');
</script>[/HTML]Comment
-
first tell me what type of error u reciving.......
if there is any sytax error then the total js will not work.
but if there is logical problem in particular case it will not work.
i assume it does not wotk in particular case...
at first try to add the code ...in every function
try
{
//ur code
}catch(err)
{
alert(err.descr iption);
}
then u will find out the error...
i think whenever u trying to parseInt(div_id ,style.top) it probably causes the error.
because div_id.style.to p = "5px" this will generate number format exception...
thannnnnnnakkkk kkkkkkksssss ....plz send me ur reply.
i am online......... ....Comment
-
Hey, how about my site? You can access it at:
http://kthx.zapto.org/
It works flawlessly in FireFox (pwnz) and it doesnt work in IE. Im Currently downloading IE7 to try it, but i have my doubts about it :-/ In IE it will screw up in the admin menu and also on the pages in the navbar when your logged out as guest. And the png's that i have dont work, but they inside the admin menu, they have that grey background when sposed to be transparent. Supposedly one of IE7's fixes.Comment
-
Heh, yeah i had to use some hellish fix for the transparent png problem. As for them being fixed in IE7, i care why? IE6 is all i'll ever use because a) i dont have a legit copy of windows, and never will... (linux pwnz) b) IE7 is prolly just as buggy as all of microsofts other shit c) linux is much better and d) i'd have to restart my computer to complete the install process. I also found the default values for css in firefox are alot better than those in ie. screw ie. Smart people use firefox :D
btw my sites looking better :) And my domain is registered :D http://www.codinggroundz.com/Comment
-
I'm a beginner and having the same problem. Everything looks great in Firefox but images and text in IE are not appearing on the page where they should be. Also, I can't scroll down in IE so can only see half the content. Any tips would be greatly appreciated!
Thanks.Comment
-
Originally posted by elephantwalkerI'm a beginner and having the same problem. Everything looks great in Firefox but images and text in IE are not appearing on the page where they should be. Also, I can't scroll down in IE so can only see half the content. Any tips would be greatly appreciated!
Thanks.
Post your code so we can see the problem.Comment
-
I am having the same problem with this issuu code:
Code:<div><object style="width:500px;height:300px" ><param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf?mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=090512194756-4bf4b421cb414e8f8be20573d2c102f7&docName=produselacomanda&username=HUSEPIELE&loadingInfoText=CATALOG%20HUSEPIELE&et=1242158433703&er=6" /><param name="allowfullscreen" value="true"/><param name="menu" value="false"/><embed src="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf" type="application/x-shockwave-flash" allowfullscreen="true" menu="false" style="width:500px;height:300px" flashvars="mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=090512194756-4bf4b421cb414e8f8be20573d2c102f7&docName=produselacomanda&username=HUSEPIELE&loadingInfoText=CATALOG%20HUSEPIELE&et=1242158433703&er=6" /></object><div style="width:500px;text-align:left;"><a href="http://issuu.com/HUSEPIELE/docs/produselacomanda?mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true" target="_blank">Open publication</a> - Free <a href="http://issuu.com" target="_blank">publishing</a> - <a href="http://issuu.com/search?q=smartphone" target="_blank">More smartphone</a></div></div>
Comment
-
There doesn't seem to be any JavaScript in your code. If it's purely an HTML problem, post your question in the HTML forum.Comment
Comment