HighDots Forums  

RANDOM INCLUDE FILES

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss RANDOM INCLUDE FILES in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bwillidesign webforumsuser@macromedia.com
 
Posts: n/a

Default RANDOM INCLUDE FILES - 07-08-2003 , 12:18 PM






Trying to randomize display of collection of include files. e.g. <!--#include virtual="/include/nav/footer/navy_blue_footer.inc"--> but can't seem to get it to work. The javascript array doesn't seem to like the comment tags in the include tag. Any suggestions?

Thanks,




Reply With Quote
  #2  
Old   
Alan Ames
 
Posts: n/a

Default Re: RANDOM INCLUDE FILES - 07-08-2003 , 12:33 PM






can't use client-side javascript to control SSI includes- because the SSI
is being included on the server- before the javascript is evaluated and run
in the client computer...

you could use the info here=
http://bignosebird.com/sdocs/extend.shtml

(if supported on your hosting)
You could use that to write a randomizing expression probably.

Quote:
Trying to randomize display of collection of include files. e.g. <!--#include
virtual="/include/nav/footer/navy_blue_footer.inc"--> but can't seem to get it
to work. The javascript array doesn't seem to like the comment tags in the
include tag. Any suggestions?

Thanks,



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.