Jump to content


scrolling text box


4 replies to this topic

#1 p, FRY

    Young Padawan

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:australia

Posted 05 December 2005 - 06:14 AM

i am looking to create a text field like the one on this website

the only luck i have had getting a scrolling text box is with a white only background, is there anyone who can help me or point me in the right direction to get a transparent text box.

thanks in adavance.

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 05 December 2005 - 04:15 PM

I believe marquee's are the scrolling boxs you're looking for (unless you're good with javascript).

As for the transparent bg. I believe that's an IE only attribute, and you can simply add this to the textbox's tag
style="background:transparent;"


#3 syndrome

    P2L patient #4819

  • Twodded Staff
  • PipPipPipPip
  • 1,311 posts
  • Location:Nottingham, UK
  • Interests:Photoshop, Tennis, PS2, web design, CS:S

Posted 05 December 2005 - 05:32 PM

I think he means the scroll bar as rc69 said add this to the content box and some more


style="background:transparent;overflow: y;"


#4 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 05 December 2005 - 06:16 PM

he was actually referring to the iframe.

and about the background, the site you linked to doesn't use a transparent background but it uses a background image that stays in the same spot.

to do that, he made the iframe with the url.

<iframe src="webpage.html"></iframe>

then on webpage.html, he used a background image with a width and height set to the right values, then he added this in the body tag:

<body background="images/newbackground.gif" bgproperties="fixed">

#5 p, FRY

    Young Padawan

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:australia

Posted 05 December 2005 - 07:26 PM

thanks for the feedback guys.

coolaid was on the money. cheers!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users