Jump to content


transparent popup message


5 replies to this topic

#1 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 22 February 2007 - 08:06 AM

Hi,
how would i creat something like a popup when a viewer comes to my page? something like when u run the office for the 1st time and that little wizzard appears ...
so auto popup when someone comes to my page ...

thx

#2 Faken

    Pimpmaster G

  • Admin
  • 5,917 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 22 February 2007 - 09:49 AM

View PostHEki_, on Feb 22 2007, 08:06 AM, said:

Hi,
how would i creat something like a popup when a viewer comes to my page? something like when u run the office for the 1st time and that little wizzard appears ...
so auto popup when someone comes to my page ...

thx

Did you even try searching the site?? http://www.pixel2lif...ch/all/popup/1/

Just an FYI, most people now run popup blockers (Windows comes with it built in now) so most of your visitors will not see the popup.

#3 Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 22 February 2007 - 10:01 AM

You might be able to get the same sort of effect using javascript. Along the lines of lightbox. I think there is somthing out there called thickbox that will allow you to popup an iframe or div with html content inside of it. Would get around popup blockers.

#4 _*Creative Insanity_*

  • Guests

Posted 22 February 2007 - 11:40 AM

Do you mean when you place your mouse over a word a little message box pops up with some description? If so they are called tooltips. If you do a search on that I am sure you will find something.

#5 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 23 February 2007 - 03:37 AM

i did a search :D
and i know about popup blockers ... i should wrote sooner that i want something with java or css ... :D
and i want this to open as soon as a viewer comes to a certain page ...

Edited by HEki_, 23 February 2007 - 03:38 AM.


#6 HEki_

    Young Padawan

  • Members
  • Pip
  • 165 posts

Posted 23 February 2007 - 05:05 AM

Ok got the code and its working ... I am useing thickbox ...
the only thing i need to do now is to put onLoad javascript action on the page ... I have no idea how to call something like:

<a href="slika.html?keepThis=true&TB_iframe=true&height=250&width=400" title="add a caption to title attribute / or leave blank" class="thickbox">Example 1</a>

in this way:

<script type="text/javascript">
function load()
{
window.open('slika.html','Navodila','width=300,height=200,resizable=no,scrollbars=no,toolbar=no,top='+((screen.availHeight/2)-(200/2))+',left='+((screen.availWidth/2)-(300/2))+'');void(0);
}
</script>

:g[1]: :doh: :wtf: :D :bashhead: :D :huh:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users