coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: firswood on September 29, 2006, 01:54:56 AM

Title: Creating a text link that creates a pop up page?
Post by: firswood on September 29, 2006, 01:54:56 AM
Hi,

I want to create a link in the category description that when its is clicked on - a new page appears ina new browser window, so keeping the original page behind the new one.

ie a popup - or in plain html target=blank
Now, I know that I can use bb code-but I can't find anything that solves this.

http://www.theartgallery.co.uk/cpg149 (http://www.theartgallery.co.uk/cpg149)

Like it does in this posting? How does this work here??
Title: Re: Creating a text link that creates a pop up page?
Post by: Gizmo on September 29, 2006, 02:37:16 AM
Here's a link to an online tutorial - http://www.htmlcodetutorial.com/linking/_A_TARGET_95y98y108y97y110y107y.html (http://www.htmlcodetutorial.com/linking/_A_TARGET_95y98y108y97y110y107y.html). Pretty straightforward.

[EDIT] - Use Nibbler's link to be standard compliant.
Title: Re: Creating a text link that creates a pop up page?
Post by: Nibbler on September 29, 2006, 02:40:19 AM
Use bbcode + http://www.sitepoint.com/article/standards-compliant-world
Title: Re: Creating a text link that creates a pop up page?
Post by: firswood on September 29, 2006, 03:50:03 PM
Thanks for the replies.

I'll work on it, but right now having troublke with what should go where.
Specifically the use of <html> and the square [ ] bbcode brackets.

Havent got it working yet - sure I will. Any pointers though?
Title: Re: Creating a text link that creates a pop up page?
Post by: firswood on October 05, 2006, 01:12:07 AM
any ideas?
Title: Re: Creating a text link that creates a pop up page?
Post by: Joachim Müller on October 05, 2006, 06:04:14 AM
Quote from: firswood on September 29, 2006, 03:50:03 PM
Specifically the use of <html> and the square [ ] bbcode brackets.
You can't use <html>. The bbcode that is allowed can be found in the docs: 4.10 Using bbcode to insert links and special formatting in various description fields (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bbcode)
Title: Re: Creating a text link that creates a pop up page?
Post by: firswood on October 05, 2006, 01:20:17 PM
Yes thanks - I do undersatnd that [honest] - I was hoping that i could create links in the Cat Description that when clicked on - opened in a new window - specifically in the Cat Description  - but I assume I cannot do that. The links I have created now as you can see, open in the same browser window.. its a personal thing .. but never mind.