The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Popup Help

3 posters

Go down

Popup Help  Empty Popup Help

Post by MrElie February 27th 2012, 10: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.
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by LGforum February 27th 2012, 2:36 pm

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

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

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by MrElie February 27th 2012, 7: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 ?
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by LGforum February 27th 2012, 9: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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by MrElie February 27th 2012, 10: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 ?
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by LGforum February 28th 2012, 1: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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by MrElie February 28th 2012, 8: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
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by LGforum February 28th 2012, 3: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?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by MrElie February 28th 2012, 3: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 ?
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by LGforum February 28th 2012, 3: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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by MrElie February 28th 2012, 3:56 pm

how to put as homepage message
?
avatar
MrElie
New Member

Posts : 13
Reputation : 0
Language : English

http://www.knights-forum.com

Back to top Go down

Popup Help  Empty Re: Popup Help

Post by Sanket February 28th 2012, 4:23 pm

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

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

Back to top Go down

Back to top


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