The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Java script pop up image !!!!!!

View previous topic View next topic Go down

Java script pop up image !!!!!!

Post by Daniel_BG on October 27th 2012, 10:20 am

Can someone make me ?????? bwi

Daniel_BG
Forumember

Male Posts : 183
Reputation : 1
Language : Bulgarian English
Location : Bulgaria

http://yugioh-mania.bulgarianforum.net/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by SLGray on October 27th 2012, 11:06 am

When you ask for support on the forum, it would help if you explained what you want in more detail then just posting one sentence.


Last edited by slg on October 27th 2012, 6:10 pm; edited 1 time in total


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by Daniel_BG on October 27th 2012, 1:30 pm

I want JavaScript popup image to be displayed for each click, but there is an option to exclude !!!!!!!!

Daniel_BG
Forumember

Male Posts : 183
Reputation : 1
Language : Bulgarian English
Location : Bulgaria

http://yugioh-mania.bulgarianforum.net/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by ShowStopper on October 28th 2012, 2:33 am


ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

Re: Java script pop up image !!!!!!

Post by Daniel_BG on October 28th 2012, 10:08 am


to something. but is automatically displayed upon entering the forum or clicking a button
(something like loginpopap)



This is the site which saw popup------->http://lan-servers.com/index.php?page=Portal

Daniel_BG
Forumember

Male Posts : 183
Reputation : 1
Language : Bulgarian English
Location : Bulgaria

http://yugioh-mania.bulgarianforum.net/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by ShowStopper on October 28th 2012, 11:18 am

I'll take a look at the source code and see what I can find.

EDIT- This is the code they're using, but it would have to be modified to fit what you need it for:
Code:
<script>
         Event.observe(window, 'load', function() { 
            this.blur();
            Modalbox.show('<form action=\'\' method=\'post\' name=\'form\' id=\'form\'><input type=\'hidden\' name=\'type\' value=\'hide\' id=\'hidden\' /></form><a href=\'http://lan-servers.com/bgtop.php?type=test\' target=\'_blank\'><img src=\'http://lan-servers.com/images/vote_lan-servers.jpg\' width=516 height=330/></a>',
            {
               title: this.title,
               beforeHide: function(){ window.serializedForm = Form.serialize('form'); },
               //afterHide: function() { $('content').update(serializedForm) }
            });
            return false;
         });
      </script>

ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

Re: Java script pop up image !!!!!!

Post by Daniel_BG on October 28th 2012, 11:34 am

this is javascript?

Daniel_BG
Forumember

Male Posts : 183
Reputation : 1
Language : Bulgarian English
Location : Bulgaria

http://yugioh-mania.bulgarianforum.net/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by ShowStopper on October 28th 2012, 12:20 pm

I believe so. However it will take some tweaking to use it on your site. Also remember to remove the <script> tags when you add it to the Javascript Codes Management.

ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

Re: Java script pop up image !!!!!!

Post by Daniel_BG on October 28th 2012, 2:11 pm

put it in "Javascript codes management"
but nothing happens ... obviously it works!
bwi bwi bwi bwi bwi

Daniel_BG
Forumember

Male Posts : 183
Reputation : 1
Language : Bulgarian English
Location : Bulgaria

http://yugioh-mania.bulgarianforum.net/

Back to top Go down

Re: Java script pop up image !!!!!!

Post by ShowStopper on October 29th 2012, 2:07 am

Let me see if it does anything when I try it...

EDIT- It didn't work. The source code of that site is a little hard to read because the site's in another language. But I'm pretty sure that's the code that was attached to that element of the page.

ShowStopper
Forumember

Female Posts : 68
Reputation : 1
Language : English | HTML | Javascript | CSS

http://heroesnetwork.forumotion.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum