Anyone trying out the javascript drop down menus from the Sitepoint Javascript Anthology book might have noticed that in IE7 the sub menus are misaligned, they are offset to far to the right.
Has anyone else come across this problem and does anyone know how to fix it? It has unfortunately broken several of my menus, though if you just try the demo menus from the book in IE7 they also suffer the same problem.
This is really only for anyone who has the book and has mastered the concepts of the rollover drop down menus from Chapter 7 in Stuart Langridge's DHTML Utopia book.
Does anyone know what the key is to getting the first menu list to appear inline, rather than as a block, while leaving everything else working as it does already?
I'm already past the basics of Javascript, and i need something that takes me to the other level and teaches me the new technologies and cool stuff (drag&drop, AJAX, OOP in javascript, maybe XUL...etc). So far i found these two books:
1. Sitepoint's "The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks". 2. Worx's "Professional JavaScript for Web Developers (Wrox Professional Guides)"
Both seems to cover very insteresting topics, but i can only buy one of them. So which one do you suggest?
and by the way, i've read the sample chapter 5 of Sitepoint's book, and it seems like the author(s) just put the solutions/codes there and let you figure them out on your own. Is this how the rest of the chapters are?
I have used the code from Sitepoint Javascript anthology (page 130) to create a popup on my pages, however I have a list of pdfs each of which needs to open in a popup and the code only works with the very first in the list. the rest of the pdfs open up in the window as normal. How can I adapt this and would I have to separatly number each id: ?
I was just wondering if anyone knows of a great javascript book to buy. I am looking for something super duper hard core. I would love it to have documentation galore that includes all of the AJAX and DOM and XML. You know... like a javascript BIBLE. Something thick and comforting. Something that makes you feel all warm and toasty inside just knowing that it is there. So if I start running into some problem I can just glance at the book and rest assured that if the problem exculates not to fear. I have .... THE BOOK.
I have been working with HTML for a few years and am now just getting comfortable with CSS, but I never got into JavaScript. I learn best by reading and following instructions and doing small projects that emphasize the concepts. Can anyone recommend a good book for a beginner at Javascript? Something that makes you practice?
Ok guys l generated some dhtml drop down menu using Sotthink DHTML menu 8.Now l am editing it in my Netbeans but cant change the height of the seperator .
Ok so I'm using FxMenu 4.1.1 on my website at the moment. I figured that I wanted to keep the menu static so it wouldnt ahve to reload everytime someone clicked on page. I made a 3-framed framset with a header,center, and a footer. The center consists of the menu and an iframe. The pages that load from clicked on the menu items load in the iframe. Here's my problem: if I load a flash movie or whatever in the iframe it overlaps the menu. Code:
The rollover menu's roll out nicely, but they don't go back in unless you put your mouse over another menu item. Is there another onmouse* combination I should be using?My javascript:
If anyone can help me find a free resource for creating a verticle slide tree menu system that allows the use of images for the navigation I would really appreciate it. I have found many scripts that allow background images but NONE that have rollover images for the links. Code:
Because i'm a javascript newbie, i decided to use a application (allwebmenus) to create a tree menu.But I wasn't able to find a option in the program to change 2 frames with 1 click.This is the situationI've got 2 frames (maincontent & logo) and 2 documents (opschoning.html & herinstalleren.html).At the moment the menu is working fine. When clicking on "- opschonen" ,opschoning.html is nicely loaded in the maincontentframe.But i would like to see that at the same moment herinstalleren.html gets loaded in the logoframe.I've been trying hard, but couldn't find the solution for the problem.
Code: //----------DHTML Menu Created using AllWebMenus PRO ver 5.1-#766--------------- //F:ProgjesawmTheme GallerySlidingscott.awm
This is my first post here. I'm not well versed in JavaScript, so I'm not sure how to do all the following things: (1) set up a horizontal menu with (2) + and - images as bullet points, such that clicking on the bullet points (3) changes + to - and vice versa while (4) a single-level drop down menu makes text disappear and appear.
It should look like this: --------------------------------------------- [+] Option A [+] Option B
I used the script from this website to create an expanding and collapsing sitemap bar at the bottom of my page. What I can't find is a solution to the menu expanding up over the content instead of expanding downwards.
I have a form that will display either text boxes to edit a start and end date or just display nothing depending on the selection from a <select>. I am using JavaScript and DHTML to accomplish this and the code below works fine. When the page loads my <select> will have a value already.
My question is how do I get the correct block of code to show up when the page loads depending on what is already selected? I can't use an onLoad in the body tag because I am unable to edit the body tag. Code:
I have a javascript menu based off of unordered lists that only shows the subnav links when you click on the main nav links. is there a way to keep any subnav items open after you click on a link and are transferred to a new page? Code:
Entire Code Sample:[URL]I can get this code to work no problem if I create a second iFrame ("iNav") just to load the DHTML menu into. EX:
Code:
var FirstLineFrame=parent.iNav; // Frame where first level appears var SecLineFrame=parent.iNav; // Frame where sub levels appear var DocTargetFrame='icontent'; // Frame where target documents appear
However I would like to avoid this as I really just want the single iFrame on my page and then dynamically load content into the iFrame via the DHTML menu.
I display one of several spans when the user mouses over some code. Inside the span are several tabs. Clicking on the tab triggers a JS function that hides the "current" text for the span, then shows the "new Current" box. It's a constantly revolving door- turn off old, turn on new. Switch from one span to another and reset the fields.
When I switch between different "spans" then switch back, there are ghost form elements on the screen (a text area, a blank button) that appear near where they should be. The section that I was last on does not display. This occurs when switching between different spans. HOWEVER, when I set a javascript alert to display what the old visible and new visible divs are within each span, none of these problems occur- everything displays correctly. It's as if the alerts "reset" the javascript display in some fashion. The errors only happen when the alerts are not on.
Does anyone know why this might happen or if it's a common occurence that these problems disappear when an alert is used? If I don't use an alert, how do you display JS variables during testing. Here are some of my JS functions. Code:
Is DHTML a language? or is it a composition of JavaScript and css? Does Java(not javascript) has something to do in it?
What is actually the best to create client-side dynamic pages? I know JAVA is used to create applets but I am not sure of wich is the most powerful....
Also, wich are the newer versions of all the above languages?
i need a DHTML drop down menu sample with framesets used or the cross-frame..i dont have any dropdown menu creator because they are just a trial verion..
Is there a way to change the displayed text on a web page using some combination of Javascript and DHTML? NOT in a text box. As far as I know (with my limited knowledge) the only way you can do this is with a textbox or images, which is not what I'd like to do. There's gotta be a way to do this, right?