-
Linking Button to Extenal HTML page
OK,
I can get the button to work when I point it at a website like www.pbase.com/ifpdigital but I want to check out a folder I created in simple viewer 1.7. So I ftp'd it to my current folder where my website is hosted.
It looks like this
on (release) {
getURL("http://www.ifpdigital.com/children.html");
}
It doesn't work... then I remembered my site is set to the index.html as its opening file?
Is this why it won't work? I thought if I pointed it to the children.html file, it would open it up in it's own window?
Help please.
Thanks,
Robert
-
Freelance Web Designer
i didn't exactly understand what u want to do. but http://www.ifpdigital.com/children.html dosen't work which make sense that the code wont't work!!
-
Yes I understand it will not work. What I want to know is how can I test the button either through the net or on my local drive.
Thanks,
-
It's a long way to the middle
You must set the path correctly, as you already know. So, wherever you want to link to should be the 'full path' to that file or page or folder.
Example:
*If my website is: http://www.whatever.com
*And I have a folder in that website called 'folder', then the path to that folder would be http://www.whatever.com/folder
*Now if I want to target a page within that folder called 'page.html', then the correct path would be http://www.whatever.com/folder/page.html
The same thing works for a file, like 'file.txt', or 'file.zip', understand? It's all about the correct path.
SO, in your case it appears you might need to have this path:
http://www.pbase.com/ifpdigital/children.html
Because (guessing here) that pbase.com is the main website and ifpdigital is a subfolder in that site...right? Just like in my examples.
Last edited by launchpad67; 12-28-2005 at 10:46 PM.
-
humm testing buttons on the internal network ,,,
you would still have an
on(release) {
getURL("")
}
but your URL would be ,,,
>lets say you have your .swf or .html file saved wherever on your hard drive,,
lets say that the files are in a folder called X
Now if you wanted to get the button to open a file within the X
on(release) {
getURL("filename")
}
is all you have to do.
BUT !
Let us say that there is a file inside of a folder A which is inside X
on(release) {
getURL("a/filename")
}
This is the best way to build websites, just have one big folder with index.html and your .swf files and other folders like "music and movies and whater" inside of the main folder... saves a lot of time when uploading your page. Plus if you have dreamweaver you know what I'm talking about !
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
|
Click Here to Expand Forum to Full Width
|