Help - Search - Members - Calendar
Full Version: Changing what's in a frame
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
WAYNEKNAZEK
Page loads and there is a blue framed white box. A scrolling banner moves right to left
inside the box. (using marquee) When banner finishes scrolling the framed box is empty.

I would like to fill the box with either a graphic or text. Like maybe text saying "scroll down",
or a graphic indicating the same thing. Or make the whole box a hyperlink. BOX FILLS WITH
A DIFFERENT COLOR AND TEXT IS A HYPERLINK . . . Enter our site . . . click here!

And/or . . . what I'd really like is for the page to auto scroll down so the framed box scrolls
out of sight, OR . . just have that whole box "close" and the site text be at the top.


I'm OK with a "button" or link under the box to auto move to the text part of the page.
(click here to move to page text) I did that. But having it do it automatically would be cool!
The box going away would be awesome!

Something to get past the framed white box. See attached screenshot.

TIA! WayneClick to view attachment
CharlesEF
Without seeing your code I can't offer much help. marquee is a non-standard HTML tag, it was never part of the standard HTML specs. It is 'Deprecated' and should not be used.
WAYNEKNAZEK
OK, so imagine I didn't use marquee. Some other method of making a graphic scroll across a framed in box was used.

Same questions as above apply. I want to have that part of the page "go away". Currently I have a link to move down to the text. I want to replace the scrolling text graphic with a non scrolling graphic, or just text in the space where the banner was scrolling.

Better still, once the banner is done scrolling, (</marquee>) just have the box go away, delete, auto scroll down to the next part of the page.
CharlesEF
You still haven't shown any code. You could add '#id' to the end of the href to make it scroll down using javascript. I can't help anymore without seeing some code.
WAYNEKNAZEK
https://midkar.com/1_New_Home_Page_CSS_TEST...orig-color.html

view source
CharlesEF
QUOTE(WAYNEKNAZEK @ Mar 12 2022, 11:12 PM) *

I get a '404 - Not Found' error.
WAYNEKNAZEK
I know. I posted that hours ago. I'm currently working on the page and moved it.
Sorry . . .

https://midkar.com/index3-lgr-fnt-orig-color.html

It will eventually just be midkar.com
WAYNEKNAZEK
It's now just www.midkar.com
CharlesEF
To begin with your HTML structure is messed up. You have '< html >', '< /html >', '< style >' and '< /style >' tags inside the '< body >' tag. Is this an HTML4 or HTML5 document? You use both '!DOCTYPE' types in the page, you even have a stray '< /div >' tag inside the '< html >'. You use many attributes that are not valid under HTML5.

Before you start adding frosting to your cake you should make sure the cake has a good foundation. If this is an HTML5 document use this validator. If it is an HTML4 document then use the validator on this website. Instead of writing your CSS inside each tag consider using an external CSS file instead.

To my knowledge there is no replacement for marquee.
WAYNEKNAZEK
Thanks for the help! I tried to keep my posts short for viewers. Should have given you more info.

This whole site is trash. It's a support site for our MIDI discussion group that started 17 years ago. 2 of the 4 guys who started the group built the site from scratch in 2009 with ZERO experience ever programming anything. They'd do stuff till it worked.

Since then there were others in the group who volunteered to make edits n stuff on the site. So it's a spaghetti programmer's dream! LOL I'm just trying to freshen it up a little and will begin making a new site from scratch with HTML/CSS & Javascript. For now, I just want the site to work.

I "inherited" the site. I now own it. 3 of the 4 original guys have since passed, and the 4th is in his 80s and retired.
CharlesEF
In that case you are limited in your choices. What you have now may be the best solution. The only other thing I could recommend is instead of using the 'a' tag to reload the page use a 'h1' tag and javascript to hide the marquee. Otherwise just leave it as is.
WAYNEKNAZEK
Thank you my friend! I'll try that. But my gut says it is what it is! LOL
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.