Polak Maly
getURL without http:// ?
hi. i dont know what the final adress of site will be, so i would like to use adress like ./rejestracja/index.php
ive made some buttons and i would like to make action getURL
Code:
on (release)
{
getURL('./rejestracja/index.php?adres=news.php', '_blank');
}
gives me error "expecting a >>}<<". so how can i use getURL without http:// ?
You probably did something else wrong because the code you posted doesn't generate an error when I try it.
Polak Maly
hm... everything looks good - there isnt antything to do wrong
Attached Files
I thought you used a button object but it's a button component you used.
You have to use the button component without the on (release). Use only the getURL and it should work fine.
Code:
getURL('./rejestracja/index.php?adres=news.php', '_blank');
Polak Maly
yes, this works. Thans brants :]
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