View Full Version : Hyperlink Problem
athomas
11-04-2008, 12:17 PM
Alright, I followed every tutorial to the punctuation. I put the hyperlink text in, and when I click on the button.. nothing happens. Here is my text:
on (release) {
getURL("?page=hosting", "_self");
}
RysChwith
11-05-2008, 07:16 AM
My guess is that you need to include the file name in the URL. As you have it, it's not directing you to any page, so it'd stay on the same page. The browser may not be picking up on the changed query string. So try adding the file name and see if that changes anything.
Rys
Unconscious
11-05-2008, 07:52 AM
Flash only works with full URLs - you'll have to replace "?page=hosting" with the full URL of the page in question.
athomas
11-06-2008, 08:35 AM
Will it work the same with PHP includes? The way I have it setup is I have the PHP include script in the area that the page loads within index.php. User clicks the link, the page loads. It's just so I don't have to edit 50 pages to change one menu link.
jatos
11-06-2008, 09:24 AM
If correctly worked what your asking: no.
I wouldn't know exactly how todo it, but I believe it can be done by basically getting PHP to generate a XML set of links on request, then having flash read those XML links and load them. I have a feeling its done using something very similar, though not the same as AJAX.
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.