Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a bit of HTML help


wizardsandwars

Recommended Posts

Posted

I understand that using a target in an <a> will open whatever you are linking to in a new window, but how do I size that window to the picture of the image?

 

For Example:

 

<a target="new_window" href="www.wizardsandwars.com/image">

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted
<?php echo '<a href="" onClick="' . "window.open('http://www.thewebmakerscorner.com/snapmods_new/test.html','newWin','titlebar=yes,scrollbars=yes,width=650,height=500'" . ');return false;">' . 'Click here'. '</a><br>'; ?>

Posted

Linda,

 

Thanks for the code. Unfortunatly, I can't put it into the 'description' field of the product.

 

I'm not sure, but it doesn't look like it recognizes the '<? php' tag.

 

Is it possible to do this with just html?

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

Cheating and looking at source code helps:

 

<a href="" onClick="window.open('http://www.thewebmakerscorner.com/snapmods_new/test.html','newWin','titlebar=yes,scrollbars=yes,width=650,height=500');return false;">Click here too</a>

Posted

Fantastic,

 

Thanks, Linda.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

Sure thing ... I always wanted to be able to do it either way too ... so it was a fun 5 minute lesson for me too :roll:

Posted

Yeah, I've got to eventually learn all of my tag flags.

 

Hard to believe I'm a level III Database programmer that doesn't know HTML.

 

:lol:

 

Thanks again.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

I code like a wiz offline and still trip over a lot of stuff I know I should know better.

 

One moment of brillance than dashed to all heck by shear stupidity ... but then that is the nature of the beast.

 

Ain't coding a blast? 8)

Posted

I'm actually pretty good with perl and other shell scripting languages, as well as with SQL. I even teach some SQL optimization classes. Web stuff is pretty new to me though. I learned some cgi lat year, and this year I've been working on learning php.

 

I love programming. I spend about 12 hours a day hacking away.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...