Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
pmaryan
Regular
Regular


Joined: Oct 06, 2005
Posts: 76

PostPosted: Sun Aug 06, 2006 10:31 pm Reply with quote

Hey, if you take a look at a new site I am working on, I have it to start playing a piece of music that this musician has made, however I can't seem to find out how to get it to not refresh that section, when a link is clicked, so that the song doesnt restart.

Any ideas? Is it even possible?

Only registered users can see links on this board! Get registered or login!

Thanks.
 
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Mon Aug 07, 2006 5:27 am Reply with quote

It might be, but it depends on how you want it to work and how much modification you want to do. If you only want it to play on the index page, put the code inside in an IF. If you only want it to play once for a visitor, you'll need to store the information in a cookie or session and check it before playing.

BTW, I could not pull up the site.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
pmaryan
PostPosted: Mon Aug 07, 2006 6:33 am Reply with quote

I'd like to have it play on all pages if possible, and not be interrupted. Maybe i have to put a frame at the top of the page that is universal and doens't get reloaded?

Try taking a look at the site now, it should be up.

Thanks
 
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Mon Aug 07, 2006 7:12 am Reply with quote

Dont mean to jump in here but if I may,

hmmm, curious.

Thing is, nuke reloads all components at every different part of the site.

Perhaps its a good idea to look into some sort of javascript OR cookie session to apply for the music.

This is a curious concept and would be usefull for a few other applications I had in mind.
I'll work on this and see if I can come up with anything.

_________________
For those who stand shall NEVER fall and those who fall shall RISE once more!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Aug 07, 2006 12:43 pm Reply with quote

well thats probably not gonna work...
ive seen a lot of these things...
in your case pmaryan its solved by an iframe..
and some flash players are capable of doing this but hard to find out whitch one..
ive tried a few demo's on nuke sites but they just reload.
other option would be onload and hidden but not everybody is gonna like that..
 
View user's profile Send private message
pmaryan
PostPosted: Mon Aug 07, 2006 2:51 pm Reply with quote

I dont understand the use of that tag, and how I would implement it into an embed item.

Maybe I could create a custom block with a link to popup a window that contains the flash player.


Is there a best practice that wont be blocked by a popup blocker? And where would I go about learning how to make a simple block with a picture link in it and the popup window.
 
hitwalker
PostPosted: Mon Aug 07, 2006 3:03 pm Reply with quote

yeah you could put this in a block..

Code:
<a href="#" onclick="window.open('yourpagewhatever.php', 'music', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=y es,width=500,height=500')"><img src="yourimage.gif"></a>
 
pmaryan
PostPosted: Mon Aug 07, 2006 5:28 pm Reply with quote

well this is what I posted in block-musicplayer.php

However it formats it strange.. I'm afraid I'm a newb when it comes to coding these blocks. I activated the following file.

Code:
<center>

<br><br>
<a href="#" onclick="window.open('/vgomez/musicplayer.html', 'music', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=y es,width=500,height=500')"><img src="/users/vg/vguest.jpg"></a></center><br><br>


You can see it on the site now.
Only registered users can see links on this board! Get registered or login!

Why would it make two sections?
 
hitwalker
PostPosted: Mon Aug 07, 2006 7:03 pm Reply with quote

i dont know...
it shouldnt...
but take the 2 starting <br> and last 2 <br>
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©