RANDOM INCLUDE FILES

Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default RANDOM INCLUDE FILES

    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,



    bwillidesign webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. how do I hide database connection files using PHP include files?
      I have the following at the beginning of the PHP page: <?php require_once('Connections/conn.php'); ?> I want to hide the connection file,...
    2. counting files, choosing at random
      i think the problem is there is a newline between the "<img src="/szukaj/images/i" and "<? ". try write them in the same line may be a...
    3. [PHP] counting files, choosing at random
      On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: Wrapping the glob() in the count() is just throwing away the filenames. Try something more like...
    4. Include files in .NET
      Hi, Does anyone know the syntax to include a .js file in an ASPX page. Colm
    5. include files
      Hi all, I used to use the include statement in classic asp to centralise my database connection, is there a better way in asp.net, whats the...
  3. #2

    Default Re: RANDOM INCLUDE FILES

    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=
    [url]http://bignosebird.com/sdocs/extend.shtml[/url]

    (if supported on your hosting)
    You could use that to write a randomizing expression probably.
    > 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

    Alan Ames Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139