Benches Uncategorized

1

ajvascript HTML snippet using homepage.mac.com&...

apple Verified

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.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    There shouldn't be a problem. All that's going away is the ability to create new sites or edit old sites. The homepage.mac URL used will not go away and those links will still be good.

    OT