ajvascript HTML snippet using homepage.mac.com&...
Imported from the Apple Support Forums via the Wayback Machine 🔗
Been using javascript in an HTML snippet in iWeb to open a new window and display a file which is stored on the iDisk. It has been working flawlessly up till now but with Apple making homepage.mac go away, how the heck do we do it now??? *(If Apple would just let us open a file in a new window all this would be hypothetical!!!!!!!!)*
Here's the script that has been working (user name obfuscated for obvious reasons):
<script type="text/javascript">
function open_win()
{
window.open("http://homepage.mac.com/username/.Pictures/1943Pictures/19430626-2. jpg","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=500, height=600") }
</script>
<form>
<input type="button" style="background-color:#FFCC99; color:#663300; border-color:#663300" value="View Page" onclick="open_win()"> </form>
Any help with the solution would be appreciated!!
1 reply
Sign in or join Beachball Help to reply.
- 0