javascript

S

Saber

<A
href=javascript:void(window.open(profile.aspx?id=<%#container.dataitem("tblauthors.id")%'>,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=250'))>

the above link returns
javascript:void(window.open(profile.aspx?id=1,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=250'))
and I think it has no problem, but it doesn't work.
 
S

Shiva

Hi,
I have encountered this before. So, I usually make it like this:

<A href='<%# "javascript:void(window.open('profile.aspx?id=" &
Container.DataItem("tblauthors.id") &
"','profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,cop
yhistory=no,width=450,height=250'))" %>'>

HTH

"Saber" <saber[--AT--]maghalat.com> wrote in message
<A
href=javascript:void(window.open(profile.aspx?id=<%#container.dataitem("tbla
uthors.id")%'>,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resi
zable=no,copyhistory=no,width=450,height=250'))>

the above link returns
javascript:void(window.open(profile.aspx?id=1,'profile','toolbar=no,status=n
o,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=250'
))
and I think it has no problem, but it doesn't work.
 
S

Saber

Thanks Shiva,
But that doesn't works.
It gives parser error.

I did it step by step, played with " and ' , removed some propeties, then
add them again, it works now :)
 
S

Shiva

Sorry abut that. Should be some typo :-(

"Saber" <saber[--AT--]maghalat.com> wrote in message
Thanks Shiva,
But that doesn't works.
It gives parser error.

I did it step by step, played with " and ' , removed some propeties, then
add them again, it works now :)


Shiva said:
Hi,
I have encountered this before. So, I usually make it like this:

<A href='<%# "javascript:void(window.open('profile.aspx?id=" &
Container.DataItem("tblauthors.id") &
"','profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,cop
yhistory=no,width=450,height=250'))" %>'>

HTH

"Saber" <saber[--AT--]maghalat.com> wrote in message
<A
href=javascript:void(window.open(profile.aspx?id=<%#container.dataitem("tblauthors.id")%'>,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resi
zable=no,copyhistory=no,width=450,height=250'))>

the above link returns
javascript:void(window.open(profile.aspx?id=1,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=250'
))
and I think it has no problem, but it doesn't work.
 
S

Saber

No problem,
It is ok now!

Shiva said:
Sorry abut that. Should be some typo :-(

"Saber" <saber[--AT--]maghalat.com> wrote in message
Thanks Shiva,
But that doesn't works.
It gives parser error.

I did it step by step, played with " and ' , removed some propeties, then
add them again, it works now :)


Shiva said:
Hi,
I have encountered this before. So, I usually make it like this:

<A href='<%# "javascript:void(window.open('profile.aspx?id=" &
Container.DataItem("tblauthors.id") &
"','profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,cop
yhistory=no,width=450,height=250'))" %>'>

HTH

"Saber" <saber[--AT--]maghalat.com> wrote in message
<A
href=javascript:void(window.open(profile.aspx?id=<%#container.dataitem("tblauthors.id")%'>,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resi
zable=no,copyhistory=no,width=450,height=250'))>

the above link returns
javascript:void(window.open(profile.aspx?id=1,'profile','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=450,height=250'
))
and I think it has no problem, but it doesn't work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top