Lately I've been working on a mobile start page for my Nintendo DS. It worked fine when I had just three items--Gmail, AIM and a quick URL bar--but as soon as I added a few more things it broke, and I have no idea why. It might not even be the javascript, for all I know. I have just been looking at these pages for far too long and need another set of eyes.
All the styling and script is in the page itself, so don't worry about finding it.
Well, I did a find/replace for bookmarksframe/bookmarkstab, and that made it work, except it also got rid of the button for it. And it seems the URL button doesn't work at all anymore?
The problem here is that I really am just no good at javascript at all.
Lately I've been working on a mobile start page for my Nintendo DS. It worked fine when I had just three items--Gmail, AIM and a quick URL bar--but as soon as I added a few more things it broke, and I have no idea why. It might not even be the javascript, for all I know. I have just been looking at these pages for far too long and need another set of eyes.
All the styling and script is in the page itself, so don't worry about finding it.
when u click on an item u get the error:
document.getElementById("bookmarksframe") has no properties
[Break on this error] var Bookmarksdiv = document.getElementById('bookmarksframe').style;
delete them out of your codes and it would work , i think ;)
http://css-tricks.com/forum-pics/javascripterrors.png
It looks like maybe the ID you are trying to target is "bookmarkstab" and not "bookmarksframe"?
The problem here is that I really am just no good at javascript at all.
only activate it when u need it. else it will crash FF biggies. especially on gmail o.o