Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

I need some simple Javascript help

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU
 
DS1 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Nov-22-04 08:02 PM
Original message
I need some simple Javascript help
I have a frameset site I'm building, a rush job for a company in another state. They have a really clunky way of navigation, but customer gets what customer wants.


Details
--------------------------

I'm trying to get the onLoad function in the body of a page to load another page into a separate frame.

I'm using Dreamweaver, my current code is as such


<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args+"'");
}
//-->

<body 0nl0ad="MM_goToURL('viewer','port_viewer_pack.html');return document.MM_returnValue">



I've switched the o for 0 to get past the DU code filter, viewer is the name of the target frame - and I don't know if it's because I'm surfing these pages locally and not on a webserver or not, but I can't get the dang thing to work *shrug*

Any help?
Printer Friendly | Permalink |  | Top
DS1 Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Nov-22-04 09:11 PM
Response to Original message
1. Nevermind, I coded it by hand
but ya'll can be sure to expect a blazing fast response to any photoshop requests :P
Printer Friendly | Permalink |  | Top
 
brook Donating Member (1000+ posts) Send PM | Profile | Ignore Tue Nov-30-04 07:32 PM
Response to Reply #1
2. Glad you got it done...
I woulda helped you out - but I don't know java yet. :P
(and I can't afford photoshop, dang it).
Printer Friendly | Permalink |  | Top
 
Flying Coyote Donating Member (36 posts) Send PM | Profile | Ignore Mon Jan-03-05 06:13 PM
Response to Reply #2
3. Various
"...don't know java yet"
Java and JavaScript are two totally different things

"..macromedia"
If someone sends me a resume and they have macromedia JS code in their pages, that resume goes straight to recycling.
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Thu Apr 25th 2024, 08:26 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Computer Help and Support Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC