really bad code there. you have the right idea, but you can't use double quotes in double quotes without exiting quotes accidentaly and causing a host of errors.
and why do you check for ns4? it's not a major browser any more and if it's for your PSP checking then you don't need to check for it.
and there is no good reason to use loose when writing a new page, loose should be used for legacy as much as possible, and nothing else.
me is a microsoft jscript property that doesn't exist outside of IE(while "this" is universaly compatable). I would rewrite it for you, but I have a few more things to do before I have the time, if no-one has provided you with a fix in a while I shall fix it up.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
thank you so much!! with the psp's browser it takes longer to load and if i did multiple pages it would be anouying when every time you click on somthing you heer a click, and im realy new to this, like i found out about it yesterday and wht you said just made me more confuzed than i was b4. and what is "ns4"? i did redo the code here it is:
netscape 4. that's what the MM_reload page is for, very nasty function, I never liked using it.
anyway, try this out and edit it to your liking, let me know if it stops working for some reason, but my tests showed that it was quite robust.
in responce to your edits I think I should point out that the one you have posted has 2 onmouse over event handlers for the anchor(a href). tags should be written in lower case and your still sniffing for ns4. your also now completely missing a doctype, which will cause problems with compliance between browsers.
if you have an image for hovering, normal and clicked I made a quick edit to allow for it(personaly I didn't see the need for it). I'll post it here if you want.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
tell me if i did anything wrong plz! but somthings wrong when i try it on my psp the start menue doesn't go up but on computer it does. i uploaded the images if you want to see it in action!
I have no idea how the PSP browser handles javascript, so it may be that it'll never be possible to get it to work. sorry 'bout that.
oh, and you have tags in your CSS, everything between style tags should be CSS rules only(like background colour or text size) not tags. the tags go in your body.
erk, actualy, you never started the CSS tags... check how I do the style effects compaired to how you do them. oh, and 1 last thing, you close a script tag that is never opened.
when your done renaming the file to .html instead of .txt you should edit it and change the line:
background-image: background.jpg;
with
background-image: url(background.jpg);
sorry about that as well. :P
Last edited by scragar; 10-21-2007 at 11:06 PM.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
i just found out how to make it work on the psp by editing the click down image to also have the start menue in it, by doing that i had to increece the size of all 3 vista start images and now when i move the mouse to that side of the screen the vista orb lights up, im just wondering how to use the image maps on the mouseover events if it is possible....
sorry it took so long for the reply, I fell asleep.
I don't thing image maps work well with mouseovers, but you shouldn't need it, cut the menu up and put it inside the div in smaller peices, that way you can position them where you want from there, and give them there own mouseover/out events.
If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
The same applies to HTML and the forums [HTML][/HTML] tags.
Bookmarks