CNT-Part for info window opening on page loading?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

CNT-Part for info window opening on page loading?

Post by macangelo »

Hi all

is there a (CNT-part) solution where I can present an info text in a box centered in front of the page? You know this boxes which normally get on your nerves and you can click them away (a shop needs this to announce that everything is on half price - so at least good news ;-))

My idea was to create a content area for this, which is by nature only visible if it contains content and give it the absolute position where I want it with a higher z-index. I would then make a "close window" button to make this "window" (which is in fact just a div-container) go away by setting this thing by CSS to display:none.

Has anybody done this yet? Any better ideas? Thanks a lot for any ideas or help!

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
Oliver Georgi
Site Admin
Posts: 9938
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Re: CNT-Part for info window opening on page loading?

Post by Oliver Georgi »

It is the same simple technique as with every other solution that way. Implement a template for your needs in combination with some JavaScript (necessary for the close) and CSS. Another tip is using banner module which is able to solve the close and whom to show for you (layer ads) — but the popping window always needs CSS.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Re: CNT-Part for info window opening on page loading?

Post by macangelo »

Hi Oliver - and thanks

Works fine: http://traumkleid.com

Best

macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
Post Reply