What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

html message over html page?

clyde

Junior Member
Joined
Jul 10, 2013
Messages
1
Reaction score
0
HTML Coins
0
i want to create an alert \ announcement to viewers on a webpage of mine.

the way i want to do is is have a message displayed over an already existing page. no popups or javascript message boxes or anything like that.

anyone know how to go about doing this?
 
And you want to do this strictly in HTML?
 
Last edited:
Well, there /are/ ways to do it in plain HTML. They're not /good/ ways, but they're doable. I would highly recommend using Javascript, this is what it's made for. The simplest way would be to make a div that stretches across the page that's invisible, but when visible is a semi-transparent black overlay. Then make another div inside it, centered, which contains your message, and have whenever you want it to appear have it become visible. Note: SIMPLEST way, not the best way.
 
If you don't like javascript's default popup message you can probably do something in a modal, have jquery make it visible. You can apply any HTML formatting to the modal you'd like.
 
Trying to accomplish this with HTML alone is really counterproductive to your time. Remember, time equals money. Javascript is much better and the standard for it. If something goes wrong then you will have a difficult time trouble shooting that. As long as it is non invasive, those types of announcements are fine. Are you familiar with using Javascript?
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back