Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
a javascript/flash open window
Old 08-29-2007, 04:40 AM a javascript/flash open window
Skilled Talker

Posts: 60
Name: tami
Trades: 0
i have a gallery and i want to open an html window from flash. my code in flash would be :
Code:
getURL("javascript:fixedSize('gallery/pict.html', '', 'menubar=0, tollbar=0, scrollbars=yes, resizable=0, width=800, height=600')");
my problem is that pict.html is not good enough because i need to add avariable according the picture i want to enlarge 'gallery/pict'+ex+'.html',
how can i write it correct?
pizza is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-29-2007, 06:40 AM Re: a javascript/flash open window
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
add a querystring identifier to the URL and have whatever server side code you can use select the correct image.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-29-2007, 07:59 AM Re: a javascript/flash open window
Skilled Talker

Posts: 60
Name: tami
Trades: 0
what i did now is this:
ex=ex+".html"
and
getURL("javascript:fixedSize('gallery/photo=ex', , 'menubar=0, tollbar=0, scrollbars=yes, resizable=0, width=800, height=600')");
it doesnt recognize th ex
pizza is offline
Reply With Quote
View Public Profile
 
Old 08-29-2007, 08:19 AM Re: a javascript/flash open window
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Code:
getURL("javascript:fixedSize('gallery/photo='+ex+'", , 'menubar=0, tollbar=0, scrollbars=yes, resizable=0, width=800, height=600')");
Put your ex variable outside of the string definition, or it will be interpreted as a literal value.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to a javascript/flash open window
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26436 seconds with 12 queries