Rotating Text

Please support our HTML and CSS advertiser: $6.99 Domain Names at 1&1. Includes Free Privacy. Save Now!
Reply

Join Date: Feb 2007
Posts: 3
Reputation: Goldman1 is an unknown quantity at this point 
Solved Threads: 0
Goldman1 Goldman1 is offline Offline
Newbie Poster

Rotating Text

 
0
  #1
Feb 7th, 2007
I'm not sure if this is the right "Browser Side World" board to post this on, but I'm not a programmer so forgive me.

I'm thinking about redesigning my homepage. One feature I would like my homepage to have is the rotation of text and images. I sell designer furniture so I wanted to feature a different piece (probably 5 total) that changed every time someone visited the homepage. Each image would also have text associated with it that gave a brief description of the product.

Is it possible to create something like that and still have it be SE friendly? What coding language would you use?

Note: It won't be the only thing on the homepage, just part of it. So there will still be other text.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,321
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 384
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Rotating Text

 
0
  #2
Feb 7th, 2007
Check out dhtml for a slideshow script.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,266
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 170
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Rotating Text

 
0
  #3
Feb 9th, 2007
You aren't going to sell anything by annoying the prospective customer to death with moving gee-whizzes flying all over the screen.

Give me a simple screen with no moving stuff, no text on top of images, and no popups, and I am much more likely to read the whole screen.

If there are a bunch of distracting moving objects, I hit my back button to get rid of the whizzing and spinning objects.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Rotating Text

 
0
  #4
Feb 9th, 2007
I think the poster wants 'rotating' (as in dynamically chosen) information rather than 'rotating' (as in rotary motion) etcs.

If you use Javascript to do this, you have to 'dupe' search engines (and non-JS browsers) by presenting at least one valid block of information by default. You can then use JS to 'swap' that block with a randomly chosen block when the page has loaded. You could probably do that with an iFrame even, to limit the need to type HTML into .js includes. There's better ways than using iFrames, but it's certainly possible.

Ideally, you'd want to do this on the server side (using PHP/ASP or similar) to present slightly different pages/pieces of content for a request based on a random number.

You shouldn't see any decline from an SEO perspective if you're doing this serverside (although you wont be able to guarantee which page version is indexed at any time). With the JS version, you'll only suffer if you don't present default (JS disabled) information, or if you don't neccessarily want the default information to be indexed.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 13
Reputation: Gmarvz is an unknown quantity at this point 
Solved Threads: 1
Gmarvz's Avatar
Gmarvz Gmarvz is offline Offline
Newbie Poster

Re: Rotating Text

 
0
  #5
Feb 15th, 2007
i think you can use this:

<script>
var whichquote=Math.round(Math.random())*3
if (whichquote<=1)
document.write('"<img src="http://yourdomain.com/image1.gif">"')
else if(whichquote<=2)
document.write('"<img src="http://yourdomain.com/image2.gif">"')
else if(whichquote<=3)
document.write('"<img src="http://yourdomain.com/image3.gif">"')
</script>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 4046 | Replies: 4
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC