|
its cool
|
 |
« on: February 11, 2008, 02:22:57 pm » |
|
am i able to add a pop up like when they enter my site a pop up comes up ? 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
simply sibyl
|
 |
« Reply #1 on: February 11, 2008, 02:27:31 pm » |
|
am i able to add a pop up like when they enter my site a pop up comes up ?  since you can use html, and javascript in your header and footer then yes you could. You'll have to google around and find what you need to do that .. there are no codes here currently for that.
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose Jr.
|
 |
« Reply #2 on: February 11, 2008, 02:30:25 pm » |
|
ok here <script type="text/javascript"> function pop_up() { alert("Text For The Pop Up Goes Here"); } </script> id very much so advise you to put it in your portal if you dont have one get one cuz if you put it in ur headers and footers everytime you change pages you will get the pop up everytime so get a portal and make a html box and if you have like other htmls like a poll or something add it to that so you dont have to make a whole new blank box with the code if it doesnt work ill check my flaws 
|
|
|
|
|
Logged
|
New Graphic! Abstract
|
|
|
|
its cool
|
 |
« Reply #3 on: February 11, 2008, 02:33:33 pm » |
|
ok here <script type="text/javascript"> function pop_up() { alert("Text For The Pop Up Goes Here"); } </script> id very much so advise you to put it in your portal if you dont have one get one cuz if you put it in ur headers and footers everytime you change pages you will get the pop up everytime so get a portal and make a html box and if you have like other htmls like a poll or something add it to that so you dont have to make a whole new blank box with the code if it doesnt work ill check my flaws  dude ty so much but uh i want to keep it so every time i change page i can see it but ty
|
|
|
|
|
Logged
|
|
|
|
|
|
|
its cool
|
 |
« Reply #5 on: February 11, 2008, 02:41:57 pm » |
|
wont work gr
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose
|
 |
« Reply #6 on: February 11, 2008, 02:46:48 pm » |
|
Agent Moose Jr. forgot to add the ending part of the function  <script type="text/javascript"> function pop_up() { alert("Text For The Pop Up Goes Here"); } pop_up(); </script>
|
|
|
|
|
Logged
|
SMC Code Index - The best Code Index for all your Needs! Includes a bunch of codes not on Support.[/cen
|
|
|
|
Agent Moose Jr.
|
 |
« Reply #7 on: February 11, 2008, 03:09:33 pm » |
|
oops my bad lol i knew i was forgeting something thing thanks moosy
|
|
|
|
|
Logged
|
New Graphic! Abstract
|
|
|
|
its cool
|
 |
« Reply #8 on: February 11, 2008, 03:12:18 pm » |
|
o ok ty
|
|
|
|
|
Logged
|
|
|
|
|
|
|
simply sibyl
|
 |
« Reply #10 on: February 14, 2008, 08:48:38 am » |
|
you can put any text you want in an alert box. Just replace Text For the Popup Goes Here with Welcome or whatever words you want. I dont know how to get an image in them... You cannot just stick the image url in OR put in <img src="image url"> .. that wont work. One of the coders may know of a way but I "think" the alert function won't do it
|
|
|
|
« Last Edit: February 14, 2008, 08:51:09 am by simply sibyl »
|
Logged
|
|
|
|
LaundryLady
Global Moderator
Offline
Posts: 3094
Internet Challenged
|
 |
« Reply #11 on: February 14, 2008, 09:09:53 am » |
|
I tried this out and it works good, but it is annoying as heck if it pops up every time you change the page. I would agree with the above statement of putting it in your portal.
|
|
|
|
|
Logged
|
|
|
|
|
simply sibyl
|
 |
« Reply #12 on: February 14, 2008, 09:17:02 am » |
|
no kidding LL.. totally agree [humble opinion mode on] Actually it would annoy the heck out of me to go to a forum and have to get the same popup box (actually this ones an alert) every time I go there, and then have to close it before I can do anything else. [/humble opinion mode off]
|
|
|
|
« Last Edit: February 14, 2008, 09:24:46 am by simply sibyl »
|
Logged
|
|
|
|
Celebrus
SMF For Free Hero
Offline
Posts: 883
unlambda
|
 |
« Reply #13 on: February 14, 2008, 09:17:43 am » |
|
The jQuery impromptu plugin can be used to display images in there. It is also very visually gratifying. http://trentrichardson.com/Impromptu/Look at example 1 on there. To put an image you'd have: $.prompt('<img src="IMAGE URL GOES HERE');
I have to go now so I can't explain much more. The link to the plugin page is http://plugins.jquery.com/project/Impromptu
|
|
|
|
|
Logged
|
|
|
|
|
Agent Moose Jr.
|
 |
« Reply #14 on: February 14, 2008, 04:07:05 pm » |
|
lol wow how did i just make everyone soo happy?
but yea as i said and LL agreed its kinda annoying on every page
|
|
|
|
|
Logged
|
New Graphic! Abstract
|
|
|
|
|
|