black background (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


_gail -> black background (3/26/2001 18:25:00)

I set my page background for thumbnail photos in black. When one clicks on a photo it pops up with a white background. Is there any way to make this black?

Thanks, gail





abbeyvet -> RE: black background (3/26/2001 18:47:00)

The 'page' that pops up when you click a thumbnail is not a page as such - it is just the image itself displayed in a browser window. To have the image in a page with a black background you will have to create a page with a black background, put the large version of the picture in it and link the smaller version to that page. In other words you will have to do it all manually - FP will not do it for you with a thumbnail.

------------------
Katherine

InKK Design
LinKKs - Kilkenny's Online Magazine


-*-*-*-*-*-*-*-*-*-*
"Dogs have owners, cats have staff!"





_gail -> RE: black background (3/27/2001 20:51:00)

Wow, that's a lot of work. I have lots of photos.

Let me ask if this a possible alternative.

Do bookmarks work from one page to another, or are they only page specific (ie. work only on the same page)? If so, how? I've tried to figure this out but can't.

If this is possible, I could link each thumbnail to it's photo on a page w/black background). I could place several photos per page, then link each via a bookmark.

This would be a lot of work too, but perhaps a bit easier than zillions of individual pages.

Again, thanks.





Reflect -> RE: black background (3/27/2001 20:18:00)

Hi Gail,

Yes, a hyperlink with a "bookmark" on the end will call to another page's "bookmarked" section (say that three times fast ).

Following is a sample for you (I changed the URL and path so the link does not work ((I did not want to drop my URL))...

<a href="http://www.yourdomain.com/system_outage_procedure.html#B">click here</a>

Just make your link the same syntax and stick it on any page .

Brian

------------------
Work hard, play fair, stay sane





abbeyvet -> RE: black background (3/27/2001 20:20:00)

The only drawback I see to this approach is that the page with the large images will take forever to load - especially if the first thumbnail a person clicks is the last image on it. Sort of defeats the purpose of having thumbnails in the first place


Doing them on individual pages is not that slow. You just make one page with the layout you require for your image and save it as something like pictemplate.htm. Then each time you need a place to put the new large image you open this page, save it in the name of the new image and put in in your large image. Then right click the thumbnail and chose hyperlink and change it to the name of this page.

That is more or less what I did on this site - though I used pop ups for each page which, to make it fast to do means fiddling with the code. www.darlenegarr.com

------------------
Katherine

InKK Design
LinKKs - Kilkenny's Online Magazine


-*-*-*-*-*-*-*-*-*-*
"Dogs have owners, cats have staff!"





Reflect -> RE: black background (3/27/2001 14:32:00)

To build on what Katherine stated (and she makes a very good point). Build one page, call it a template if you will, and then just change the name of the image and save as a new file.

You might even want to go a step further and make the hyperlink to the larger image a popup. This would leave the user at the original page when they close the image/popup. Just use Javascript for the popup and only have that page contain the base set of tags plus the image.

Brian

------------------
Work hard, play fair, stay sane





reesus -> RE: black background (8/5/2005 12:15:46)

What steps would I take to link the thumbnail to the new page?




bobby -> RE: black background (8/5/2005 12:57:21)

Gail

I use ASP to automatically call up images on a "full size" viewing page.

Example:

On your thumbnail, set up each thumbnail link as:

<a href="viewpage.asp?photo=1234"><img src="1234-small.jpg"></a>

(the hyperlink is passing a variable called "photo" with a value of "1234" which is the name of the full size photo, without the .jpg ext'n)

Then on your viewing page:

<img src="images/<%=request.querystring("photo")%>.jpg" >

Now you only have to create one "view" page, and slightly modify your thumbnail links

[;)]







Reflect -> RE: black background (8/5/2005 15:01:21)

Welcome to OutFront reesus!!!

I would encourage you to start a new thread.

Take care,

Brian




Spooky -> RE: black background (8/5/2005 15:59:41)

(bobby - check the date [;)] )




bobby -> RE: black background (8/5/2005 16:56:22)

LOL

I have aparently reached my effectiveness threshold for multi-tasking...

[&o]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625