1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem: I'm needing to be able to direct some of the linked items to "_top" rather than "rightcolumn". The majority of items load into "rightcolumn" but a few items go to different pages.
I've modified the links div so that it's a drop down menu rather than list of links. For example:
I've tried putting "_top" and "top" in the spot where "rightcolumn" appears with no luck. I also tried not putting a value there also. Any time I change the "rightcolumn" value or leave it out, that particular option item doesn't even appear in the drop down menu.Code:<form action="actionhere" method="post"><select onchange="selectURL(this.options[this.selectedIndex].value);"> <option>Select Contact</option> <option value="javascript:ajaxpage('/ajaxfiles/001.htm', 'rightcolumn');">First Page</option> <option value="javascript:ajaxpage('http://www.google.com', 'top');">Second Page - Needs to go off site</option> <option value="javascript:ajaxpage('/ajaxfiles/003.htm', 'rightcolumn');">Third Page</option> </select></td><noscript><input type="submit" value="Go"></noscript></form>
Any ideas on how to address this?
Thanks!



Reply With Quote
Bookmarks