Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flash, dreamweaver cs3 template, javascript

Status
Not open for further replies.

phasetrip

Programmer
Feb 12, 2008
1
US
Check it..

I have a flash file on a template page in a folder called "Templates"
wich is in the root directory. The flash file is in a folder called
"flash", same deal as the other folder. the index.html is located in
the root.. so..

root
|_ index.html
|_<templates>
|_template.templateextention
|_<flash>
|_flash.swf

The problem seems to be a string in the javascript that within the
template updates the same string to every page, instead of updating it
relative to where the file is located.

index.html should read: 'flash/flash' yet dreamweaver is updating it
as '../flash/flash'.

you got a way to fix this? I would seriously appreciate it.
 
As it shuold be doing ="../flash/flash' with respect to site root it needs to break-out of the structure (templates folder).

1. you would need to move /flash folder into /templates.
or
2. define "index template"
under your root folder. Also double check that index page(essentially your site setup) is relative to site.


Not sure how javascript strings are realted to this...u editing some 'templated js'? if so then you need to define the code snip to be wrapped arround the strings.
All the best!

:--------------------------------------:
Do the DW »|MostarNetworks|
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top