"Ron" <webmaster@slider142.com> wrote in message
news:x9Vlc.128967$Gd3.31225122@news4.srv.hcvlny.cv .net...[color=blue]
> Gaffer wrote:
>[color=green]
> >Hello
> >
> >Is there a way in which I can make certain parts of Html on my website
> >random so that each viewer will see different material if they refresh[/color][/color]
the[color=blue][color=green]
> >page or come back onto the website later? I am currently using the
> >"<!--#include virtual="cgi-bin/menu1.txt" -->" command to display my[/color][/color]
menus[color=blue][color=green]
> >on every page of my site, so that the same material is shown on every[/color][/color]
page,[color=blue][color=green]
> >and I would like a way that I can randomize this perhaps.
> >
> >I got a links from someone,
> >
http://www.w3schools.com/js/tryit.as...yjs_randomlink, which
> >allows me to randomize links and text, but I really want to do it with
> >tables too as that's what I use for my menus.
> >
> >Any suggestions appreciated.
> >
> >[/color]
> What do you want to randomize ? The style of the menu, or the menu
> itself (each menu has different content) ? You can use javascript to
> change stylesheets or classes for the menu, or if you want to change the
> content of the menu, you can use an object element which can be handled
> by javascript to call menu*.html instead of the invisible server-side
> virtual include.
>
>[/color]
Hello
I want to randomize a menu which contains tables with image links
(advertisements) inside them. I want the link image to change when refreshed
so that it's new content that a user might not have seen previously. I'm
relatively new to JS so could you please explain more about how I could do
this. Incase you don't already know, I am using .asp pages for my site.
_____
Gaffer