Dear All
Excuse another newbie question. Im really stuck again. I have a script that when you press on an image it opens up window with the data stored for that image.
What i want to do is get rid of this 'view' function and just have the data presented in a blank window. A normal browser window.
Im not sure if its possible but if there is anyone who wants to save me many hours...with some assistance here is the function
function view(cd_id,cd_title,cd_image)
{
win1=window.open("view_cd_image.php?cd_id="+cd_id+"&cd_title="+cd_title+"&cd_image="+cd_image,"","width=650,height=250,top=100,bottom=100,left=100")
}
Thanks everyone
Dan
How can I get my data presented in a blank frame
Moderator: General Moderators
maybe quotes
It could be a quoting issue.
Usually when I have to create the url and open it in a new window I will creat the url first then just subsitite in. Like so.
That why I don't get to lost in the quotes.
I also noticed that you had a , where a + should have been at the end or your url.
phpScott
Usually when I have to create the url and open it in a new window I will creat the url first then just subsitite in. Like so.
Code: Select all
function view(cd_id,cd_title,cd_image)
{
url="view_cd_image.php?cd_id="+cd_id+"&cd_title="+cd_title+"&cd_image="+cd_image;
win1=window.open(url, "width=650,height=250,top=100,bottom=100,left=100");
}I also noticed that you had a , where a + should have been at the end or your url.
phpScott