Since I am having trouble adding a popup for the jukebox on my site, do you think it would be possible to have block especially created to add a popup to your site?
If this is in the wrong place please excuse me and place it where it is suppose to be.
Thanks :)
The code I gave did not work?
Marion,
here you can make your own popup window..just follow the directions.
http://www.dynamicdrive.com/dynamicindex8/popwin.htm
I know the problem is with me because I am not as knowledgeable as I would like to be. I'll give it another try. thanks, Jeff.
give me your player code & i will gitter working...?
ok, will do.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="288" height="241" id="CoffeeCup" align="middle">
<param name="movie" value="myjukebox.swf"/>
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="myjukebox.swf" quality="high" bgcolor="#ffffff" width="288" height="241"
name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
This is the code that is in the scriptbox.
What would be your absolute link path to: http://www.mariontp.com/forum/myjukebox.swf?
http://www.manichols7.com/forum/myjukebox.swf
this is it
ok..thank you..this really helps. :)
No, it is I who thanks you. You are taking your time to help me, and that is priceless.
well Marion, you my buddy... ;)
Yeah, you'll mine too! :up:
OK,
up top left block you can see Marion's Jukebox popup window, however it does not player with me url but will with yours..
see it here: http://www.cripcan.com/tst/index.php
Hey, that's pretty neat. I hope you like the music, LOL!
1st) - Create a TP_Scriptbox, add popup-window code:
<a href="javascript:newWin=void(window.open('http://www.cripcan.com/tst/jukebox.html','newWin','resizable=0,status=0,menubar=0,toolbar=0,scrollbars=0,location=0,directories=0,width=228,height=241,top=0,left=0'))">Jukebox</a>
Be sure and add your url link replacing mine.
This: jukebox.html you upload this to your Forum root, where -===>> Themes/Smiles/Avartars/Packages/Attachments, just upload there..
I have the jukebox.html attached as a .zip file..that is all there is to it.
crip~
Thanks, wish me luck! :up:
Good luck.. my eyes are crossed for ya. :o
Quote from: cripÃ,â,,¢ on January 14, 2007, 03:03:58 PM
1st) - Create a TP_Scriptbox, add popup-window code:
<a href="javascript:newWin=void(window.open('http://www.cripcan.com/tst/jukebox.html','newWin','resizable=0,status=0,menubar=0,toolbar=0,scrollbars=0,location=0,directories=0,width=228,height=241,top=0,left=0'))">Jukebox</a>
Be sure and add your url link replacing mine.
This: jukebox.html you upload this to your Forum root, where -===>> Themes/Smiles/Avartars/Packages/Attachments, just upload there..
I have the jukebox.html attached as a .zip file..that is all there is to it.
crip~
Doesn't the player code need to be in this popup code too? I still am unale to get it to work.
I went to my cpanel and got the true link to the player, which is this,
http://www.manichols7.com/forum/myjukebox.html
I replace your url with that. I pasted that code into a scriptbox. I save the zip file, I unzipped it and uploaded that to the forum root.
I think this code needs to be in the popup code, right?
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="288" height="241" id="CoffeeCup" align="middle">
<param name="movie" value="myjukebox.swf"/>
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="myjukebox.swf" quality="high" bgcolor="#ffffff" width="288" height="241"
name="CoffeeCup" scale="noscale" salign="lt" align="middle" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
Or am I wrong? The software said to make certain that code is located where you want the player to show.
I pasted that code into the scritbox along with the popup code, although the player now shows up, the popup does not work still.
For popup use this:
<a href="http://address.com/location/of-your/file.html" onclick="window.open('http://address.com/location/of-your/file.html','file','height=405,width=310'); return false;">LINK TEXT</a>
set :http://address.com/location/of-your/file.html
to the location of ur file and addy ofcourse
width and height are also changable
text link is the text which will show as the link on the page
oh and use this in Script Block
Aboslute path is always better.
Thanks, I'll try this again. :)
OK, got it to work, sort of. It now popups but the window is full page sized, with a small player at the top centered and the rest of the page is black.
Have a look see, it is on the left under the video player. I change the sized but it didn't do anything. Any ideas?
I suspect u must be using an editor to put in the code?
Since that code should work perfectly UNLESS it was altered by the editor.
Just to check can u copy and paste the EXACT code as it appears in your block?
aku
<a href="http://www.manichols7.com/forum/jukebox.html " onclick="window.open(http://www.manichols7.com/forum/jukebox.html','file','height=205,width=210'); return false;">JUKEBOX</a>
Yes, I did copy it into MSWord and I suspect I should have use word pad or note pad, right. I'll give that a try while I am waiting for you to check this code.
notepad is my fav.
I put mine back up where yours was:
http://www.cripcan.com/tst/
I did it!, It is working perfectly. I went back and copied the code into note pad, added my urls, and added it to the scriptbox and it is working as it should.
I don't know how to thank you two. God love you!
Grrrrrreat Marion! :D
lol, great work, Jeff. :)
About the popup-block idea..I think thats maybe a bit hard to set as anything general - popups can be so different and have very different javascript code etc.
I guess it can. I just must remember to use notepad instead of MS Word or any editor for doing codes.
I'm very happy with the results and all the help from Jeff and Aku. :)
This is what I use for my mp3 player for my old site you put this into a script box
<table>
<center>
<a target="_blank" onclick="popup = window.open('PATH TO YOUR PLAYER', 'PopupPage', 'left=0,top=0,width=363,height=350,resizable=0,location=0,menubar=0,scrollbars=0,status=0,toolbar=0'); return false"><img border="0" src="FOR A MP3 GIF BUTTON" width="97" height="20"></a>
</center>
just change the 2 bold areas and add to script box
Some people might have to change the width and height to change to fit there player
Thanks Human that code works great and its more what i was lookin for.
Just wondering why the mouse doesnt treat it as a link? (no hand)
http://5thgaming.com/forums/index.php?action=forum