TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 18, 2024, 03:40:46 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 112
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 70
  • Total: 70

A popup block, maybe?

Started by mnichols7, January 14, 2007, 12:20:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Crip

well Marion, you my buddy... ;)
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



mnichols7

Yeah, you'll mine too!  :up:

Crip

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
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



mnichols7

Hey, that's pretty neat.  I hope you like the music, LOL!

Crip

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~
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



mnichols7

Thanks, wish me luck!  :up:

Crip

Good luck.. my eyes are crossed for ya.  :o
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



mnichols7

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.

mnichols7

I pasted that code into the scritbox along with the popup code, although the player now shows up, the popup does not work still. 

akulion

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