Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cross browser/platform check needed

Status
Not open for further replies.

baad

Programmer
Apr 10, 2001
1,481
RU
hi
if you're looking at this post then you probably have some time to take a look at my menu in your system & tell me if something wrong/or if it's working at all..

it is supposed to work in:
IE4+,
NS4+ (please DO NOT resize window in ns4x: i'll fix it, but a little bit later..),
opera (don't know what version, didn't checked as i haven't one, but it have to work there..)
.. (may be somewhere else? would be surprising for me)

under Win9x (2000??) & MAC (i've checked in OS9 & OS8.5)

here it is:


thanks for your time :) Victor
 
ns 4.75 :
JavaScript Error: line 229: this.objdiv has no properties.
weirdest of the weirdest : it doesn't load at first, then if i go back i get the actual page with the nice graphics and everything but it alerts correctly the "NSAction("url")"

opera 5.0
unfortunatly, it doesn't display anything (i tried identifying as mozilla then as opera, none display anything :(( )

lynx !
(yes i do use lynx !!) nothing works ;))) but it's no surprise ;))
 
hi vituz,

sorry i had a look in NS6.1 and got nothing displayed....tho i did see the status bar message

this may be the scripting but also just outta interest here is a wierd NS6.1 bug i found..

if you specify overflow:auto as a style property of the body tag then nothing gets displayed at all. wierd huh. i dont know if this applies to your menu page...

im gonna have a look insome other browsers too..

oh..my platform is windows 2000..

good luck

rob
 
hi again,

ive also had a look in NS4.7 and IE5 now too and both are fine :)

good luck with the rest of it

rob
 
thanks, looks like i'd be debugging it for my hole life :(

>>iza: :)
>ns 4.75 :
> JavaScript Error: >>line 229: this.objdiv has no properties.

yea, its trully weird.. this error ocurs every time i load this menu (the page with this menu) [first time] <- i embedded &quot;first time&quot; with [] becouse it does EVERY first time.. i mean if i would reload the page it would be good :((( netscrap :(((
>but it alerts correctly the &quot;NSAction(&quot;url&quot;)&quot;
it have to alert this but when the end menu item i clicked.. is it fires on its own? weird.. it works under windoze pretty good in nn4.x

>opera 5.0
> unfortunatly, it doesn't display anything (i tried >identifying as mozilla then as opera, none display >anything :(( )

looks like opera does the same sh*t like macIE does.. it doesn't recognize my *non-cache-script* feature.. well, i'll try to remove it today..

>lynx !
>nothing works ;))) but it's no >surprise ;))

you mean NOTHING? wait, nothing AT ALL? wow.. well.. erm..
may be statusbar message (excuse me if there is no statusbar under linux..)



>>crazy Rob: (;-) sorry for this, joke)
>sorry i had a look in NS6.1 and got nothing >displayed....tho i did see the status bar message

what message? one of menu punct's values? or &quot;u're welcome&quot;?

nn6 overflow: here is what i found on one of russian forums:

1) error doesn't occur when position:relative or position:static . it occurs with position:absolute only

2) with position:absolute error doesn't occur when clip wasn't set or was set to clip:auto

3) with position:absolute & clip:rect(...) error occurs with overflow:scroll or overflow:auto only..


i didn't tryed it myself (i have no nn6) & i don't remember what error was talkin about (it was long time ago), but may be someone would find this information usefull..

btw, rob, had you the bag me & iza described with nn4.7??

thanks again, note that it won't be changed (wanted to type *fixed* :) naive boy..) till tomorrow.. looks like i won't manage to do anything with it today

looking through for another checkers.. :) [naive boy]
Victor
 
hi victor,

when i look in ns6.1 i got the 'u're welcome' status bar message....

also no sign of bug you and iza got but then i got ns4.7 and there are real small differences between the versions....

cheers for the info on the overflow problem..it affected one of our sites and we had to take it out bu tnow maybe we can work it backin again...

if u want another check be glad to help

rob
 
>line 229: this.objdiv has no properties.
yea, its trully weird.. this error ocurs every time i load this menu (the page with this menu) [first time] <- i embedded &quot;first time&quot; with [] becouse it does EVERY first time.. i mean if i would reload the page it would be good :(((

i suspect that &quot;this.objdiv&quot; actually doesn't exist when you first load the page, it appears only once the page has been loaded once. I would try either to load the css only onafterload (i don't even know if this event exists !!!!) - or to create somehow the this.objdiv - too bad jaredn isn't here, he could have helped with creating objects for the dom :(

it have to alert this but when the end menu item i clicked.. is it fires on its own? weird.. it works under windoze pretty good in nn4.x no no it fired only on click, don't worry !! and i had the satus bar message ok

looks like opera does the same sh*t like macIE does.. it doesn't recognize my *non-cache-script* feature.. well, i'll try to remove it today.. maybe you don't want to target opera users - i mean, not that many people use opera - do you have figures ?? you or anybody ?

you mean NOTHING? wait, nothing AT ALL? wow.. well.. erm.. may be statusbar message (excuse me if there is no statusbar under linux..) - yes, there's no status bar (it's just like a command window : text only) - that's why nothing displays ;]]] - but i'm almost sure less than 1% of people do use lynx



 
ok, iza, i got your point about SS, but here is something i have to finish with:

>i suspect that &quot;this.objdiv&quot; actually doesn't exist when you first load the page, it appears only once the page has been loaded once. I would try either to load the css only onafterload (i don't even know if this event exists !!!!) - or to create somehow the this.objdiv - too bad jaredn isn't here, he could have helped with creating objects for the dom :(
well.. acrually, it is being created in &quot;mylayers.js&quot; & this file is linked before &quot;menu_css1.js&quot; that means (for me) that it have to be already created when it is called..
the thing is (for me, again) that netscrap doesn't recognize (parse properly) some of scripts, linked to the page (it have got browsersniffer.js, styles.js but haven't got mylayers.js for some reason, or else i am trully missing something) Victor
 
no, what i meant is that as long as the page hasn't finished loading (at least once), this.objdiv doesn't really exists
so if BEFORE the page is loaded you try to access it, you can't - and that mylayers.js is loaded before or after menu_css1.js doesn't cange anything ... maybe try to load menu_css1 when the onload event has fired ??
 
i'm not trying to access it BEFORE the page is loaded :) (as i understand it) error occurs in MakeDiv function wich is called from initializze function wich is called from onloadd function wich is called onload.. wooh.. yeah, yeah..

so, looks like it IS about scripts.. (non-linking or something..) i've met this before, but i don't remember if i did something with it or not..
Victor
 
ok .... personnaly i'd put a line on the site saying &quot;ok if you still want to use that old ns4.5 you have to reload the page first. Else download a decent browser from ....&quot; - not that many person use ns, do they ?
 
ok, i agree, screw the netscrap4x..
i downloaded nn6 yesterday & you know what.. there are ZOUNDS of errors!!! (just like in ns4x: write javascript: in address bar & they all there) now i'm fixing them & downloading ie6, may be i'll install opera as well..

ps: now it almost works in nn6 :) but offline (here on my comp.. may be today i'll upload it for you all to take a look..) Victor
 
uploaded *changed/modyfied* version today; now it works in nn6 & ie6 as well (on my system: pc win98)
but in nn6 i can't set cursor type (that's no good) thought about making something very similar to the nn4x workaround (make links & stuff like that) but this way is too buggy.. well, i'm shure i'll find my way :)

but it doesn't work in ie4x & i still don't know about lynx..

btw, iza, i fixed that bug with nn4x B-)

opea..opera..X-)..opera..opera..:cool:..
damn! i just was born to be a dancer!! opera will be DEFEATED!!! (nothing of offence) Victor
 
i give up.. :( i just resized this ... &quot;menu&quot; (huh!) in ie & nn6.. i'm not talking about nn4x!! Victor
 
don't give up !!!!!! in a few minutes i'll go and read your code - still, maybe server side or flash was the way ... darn this is a bad situation when you don't even know WHICH technology to use :-/
 
iza,
i was dissapointed.. may be its baaaaad, but i terribly dislike when something runs out of my control...
it's ok for now.. i guess :) :
1. i found cursor type for mozilla: it is pointer but not hand like for ie..
2. i added simple reload handler (no big deal, but may be i'll live it like it is now..)
3. it works in ie4x now (on one of my computers, win95) but there i have to think about layer sizes..

i know you have things to do without my code, please don't bother that much, but thanks for your support :))))..

i feel better now :)))))))))))))))))))))))))))))))

wait.. don't go away..
..if you want to, :) take a look.. :) may be you'll find some other bugs..:))))
but be warned: i'm not writing too much comments for myself.. so, it would be pretty difficlt to get what is from what & where is it going to..

:)
you just *smile* me :)))
thanks


by the way, could anyone tell me where could i find information about script errors in opera 5.12? (like javascript: in netscrap or ! in ie..)

thanks again Victor
 
ok, found those errors (opera): file->preferences->plugins->report javascript errors ON

but looks like this stuff won't work in opera AT ALL..
it doesn't support:
non-dom:
innerHTML
outerHTML
insertAdjasentHTML

dom:
createELement
.. (didn't tryed anything else :()
Victor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top