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.

Popup Help

View previous topic View next topic Go down

Popup Help

Post by MrElie on Mon Feb 27, 2012 9:09 am

Hello guys,

im using a mixpod on my forum for a playlist.. the only annoying thing is that whenever i change a page it stops.. i donno if i can make it work as a popup to keep running .. and even if it stops i would still like to have it as a popup

my html from the website :

<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://c.gigcount.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEzMjc3Nzg4MjYxNzAmcHQ9MTMyNzc3ODgzNTUxMCZwPTE4MDMxJmQ9Jmc9MSZvPTc3NTQyYjhhMzIzZjRlOTJiODEx/ZjE4YWJjNDk1YTgx.gif" /><embed src="http://assets.mixpod.com/swf/mp3/mixpod.swf?myid=87767239&path=2012/01/17" quality="high" wmode="window" bgcolor="757575" flashvars="mycolor=757575&mycolor2=00ffd5&mycolor3=0022ff&autoplay=false&rand=0&f=4&vol=100&pat=14&grad=false" width="910" height="311" name="myflashfetish" salign="TL" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0" style="visibility:visible;width:1150px;height:251px;" /><br><a href="http://www.mixpod.com/playlist/87767239"><img src="http://assets.mixpod.com/images/btn2-tracks.gif" alt="Music" title="Get Music Tracks!" border="0"></a><a href="http://www.mixpod.com" target="_blank"><img src="http://assets.mixpod.com/images/btn2-create.gif" alt="Playlist" title="Create Your Free Playlist!" border=0></a><a href="http://www.mixpod.com/user/23398858"><img src="http://assets.mixpod.com/images/btn2-profile.gif" alt="View Profile" title="View all my playlists!" border="0"></a><br />Create a <a href="http://mixpod.com">MySpace Playlist</a> at <a href="http://mixpod.com">MixPod.com</a>



anyone i can add something to the script to make it in a popup and maybe play non stop?

thanks for the help

ELie.

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by LGforum on Mon Feb 27, 2012 1:36 pm

Put the HTML in a HTML page.
And use the JavaScript to open it:
Code:

window.open('/yourhtmlpage')
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Popup Help

Post by MrElie on Mon Feb 27, 2012 6:43 pm

its a step but i dont want a full window for a small player .. i want something like the small login popup .. how to make it like that ?

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by LGforum on Mon Feb 27, 2012 8:56 pm

If you want it to stay open asnd keep playing even when you change page then it has to be a new window. You can control the size of the window though to make it small like how you want it, and get rid of the toolbar and things like so:

Code:

window.open('your html page','mixpod','height=300,width=150,menubar=no,location=no,toolbar=no');
Try that instead.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Popup Help

Post by MrElie on Mon Feb 27, 2012 9:51 pm

hey thank you for your help,

now its much much better.. only final question ..

when the popup window opens the player goes and its auto-play and cool

but when i press home again the player resets and play from beginning

any idea how to solve this ?

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by LGforum on Tue Feb 28, 2012 12:04 am

Thats because the javascript will run again and reset the window. You'll need to make it an onclick event like so:

Code:

<a href="#" onclick="window.open('your html page','mixpod','height=300,width=150,menubar=no,location=no,toolbar=no');">Open Mixpod</a>

That will fix your error.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Popup Help

Post by MrElie on Tue Feb 28, 2012 7:27 am

hey man,

i did it like that but now nothing happens.. i mean when i put the java code i cant see anywhere the popup or where to click or anything.. plz help

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by LGforum on Tue Feb 28, 2012 2:34 pm

It wont open automatically now, it will only open when you click that link.
The link should appear wherever you put it, where are you putting the HTML?
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Popup Help

Post by MrElie on Tue Feb 28, 2012 2:43 pm

oh i just did an html page in the modules .. then in java i added the script .. but i didnt put the link anywhere yet .. the html url i mean ..

so far im using url generated by the html module already made.

i should add a link in menu or something ?

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by LGforum on Tue Feb 28, 2012 2:47 pm

No it won't work in the regular menu since its not a link as such, it's a JavaScript window open.
You should put it in an announcement, homepage message or widget.
avatar
LGforum
Hyperactive

Male Posts : 2262
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Popup Help

Post by MrElie on Tue Feb 28, 2012 2:56 pm

how to put as homepage message
?

MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Re: Popup Help

Post by Sanket on Tue Feb 28, 2012 3:23 pm

@MrElie wrote:how to put as homepage message
?
Display>Generalities
Homepage message
Message Content:
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2822
Language : English
Location : Mumbai

http://webartzforum.com

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