-
this code is having problems uploading using frontpage.
hi whats up this code i got from this site is having problems uploading in frontpage however total command it works fine in i need this to upload in frontpage so that i can edit it freely,
here is the code
<form name="jumpy">
<p align="center">
<select name="example" size="1" onChange="gone()">
<!-- CHANGE THE BELOW URLS TO YOUR OWN-->
<option value="stock/Live_Quote/index.html" selected>Test</option>
<option value="http://www.yahoo.com">Yahoo.com</option>
<option value="http://www.google.com">Google</option>
<option value="http://www.lycos.com">Lycos</option>
<option value="http://www.AltaVista.com">AltaVista</option>
</select>
<input type="button" name="test" value="Go!"
onClick="gone()">
</p>
</form>
<script language="javascript">
<!--
//Drop-down Document Viewer- © Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit http://www.dynamicdrive.com
//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" style="border:0;frameborder:0;width:95%;height:300px" src="stock/Live_Quote/index.html"></iframe>'
/////NO NEED TO EDIT BELOW HERE////////////
if (displaymode==0)
document.write(iframecode)
function gone(){
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=selectedurl
else if (document.all&&displaymode==0)
document.all.external.src=selectedurl
else{
if (!window.win2||win2.closed)
win2=window.open(selectedurl)
//else if win2 already exists
else{
win2.location=selectedurl
win2.focus()
}
}
}
//-->
</script>
if any one can help that would be great
-
-
I suggest you abandon FrontPage. WYSIWYG editors as a whole are a bad idea, and FrontPage is definitely one of the worst of the lot.
-
-
well i did want to go with dreamweaver but it seems hard to use do you know of any where that will give a user manual or something and could you help me wit hmy last post about the stock market codes thanks
-
-
DW is pretty good. It's still nothing compared to coding html by hand.
And, frontpage really is just ugly. It's designed not to work with anything but IE (almost on purpose, certainly that it's isn't purposefully designed to be compatible). Scripts are frequently changed in it.
If nothing else, just try editing this particular page in notepad... see where that lands you.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks