Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Graphics, Flash and Multimedia _ Changing what's in a frame

Posted by: WAYNEKNAZEK Mar 12 2022, 05:09 PM

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! WayneAttached Image

Posted by: CharlesEF Mar 12 2022, 07:06 PM

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.

Posted by: WAYNEKNAZEK Mar 12 2022, 07:58 PM

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.

Posted by: CharlesEF Mar 12 2022, 10:25 PM

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.

Posted by: WAYNEKNAZEK Mar 12 2022, 11:12 PM

https://midkar.com/1_New_Home_Page_CSS_TESTING/HTMLCSSJAVA/Twenty/index3-lgr-fnt-orig-color.html

view source

Posted by: CharlesEF Mar 13 2022, 03:14 AM

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

https://midkar.com/1_New_Home_Page_CSS_TESTING/HTMLCSSJAVA/Twenty/index3-lgr-fnt-orig-color.html

view source

I get a '404 - Not Found' error.

Posted by: WAYNEKNAZEK Mar 13 2022, 05:59 AM

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

Posted by: WAYNEKNAZEK Mar 13 2022, 07:26 AM

It's now just www.midkar.com

Posted by: CharlesEF Mar 13 2022, 06:00 PM

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 https://validator.w3.org/nu/. 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.

Posted by: WAYNEKNAZEK Mar 13 2022, 08:38 PM

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.

Posted by: CharlesEF Mar 13 2022, 11:17 PM

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.

Posted by: WAYNEKNAZEK Mar 14 2022, 12:16 AM

Thank you my friend! I'll try that. But my gut says it is what it is! LOL

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)