Author Topic: iframes in google page creator  (Read 15087 times)

Offline hidden

  • Junior Member
  • **
  • Posts: 40
iframes in google page creator
« on: March 22, 2008, 07:10:21 AM »
Hello,
I'm new in these forums and not very fluent with html so please bear with me. I'm trying to make small images on the left of my page clickable links to larger images in the content of the same page. (Just fooling aroung with this marquee thing). Here is my website if you'd like to see what I mean. I don't know if it's iframes that I need or what, but I'm here to try to find out.
Thank you,
Bob

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #1 on: March 22, 2008, 07:14:36 AM »
Whoops! I forgot to enter the web address. Here it is...rkartstudio.googlepages.com

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #2 on: March 22, 2008, 10:36:43 AM »
Welcome to the forum!

You can use a gallery type script to pop up new little windows.
So many people have pop-up blocking that becomes a hassle.

So my preference is use an iframe in your center area.
Click here for an example of what you will be making

That is simply a static iframe (content is not scrolling). And links.

1) Put this code into your webpage for a borderless (blends) iframe with your page.  (I am sure you have an Insert HTML code option for your pages to add scripts.)
Choose which version is best for your situation.

- You can use a preset size like this:
Code: [Select]
<iframe name="FRAME1" src="id77.htm" width="730" height="360" frameborder="0" ></iframe>- Or use an adjustable iframe that expands for larger screen resolutions. 
Code: [Select]
<iframe name="FRAME1" src="id77.htm" width="70%" height="360" frameborder="0" ></iframe>
Change the iframe size to fit YOUR needs.  Change the id77.htm to some starting page.  Some content you want to show in the iframe when the page loads.  Can be a picture, a web page, or even a plain background image that blends with the rest of the web page.

2) Then your set the links on your images to change that iframe. 
So when you set your link on your small image, you set it to open in FRAME1 instead of a new window (_blank) or the same window (_top).    If you can use the options they have for linking, great. 

If not, you can insert another piece of code.  Link HTML would look like this:

Code: [Select]
<A HREF="This_is_the_LARGE_IMAGE.jpg" target="FRAME1" TITLE="ROLL over comment here for FF" ALT="ROLL over comment here for IE" ><IMG SRC="this_is_your_small_image.jpg" border=0 width="70" height="55"></A>Of course you would adjust the name of the large image, the small image and the size of the small image.

I have not seen how google pages presents the link options...maybe I will have to check out a googlepage site for myself as testing ground so I could advise more directly.  Let us know how it goes.
« Last Edit: March 22, 2008, 09:33:12 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #3 on: March 22, 2008, 05:21:42 PM »
Thank you very much for that information! It's the clearest instructions I've seen yet for this. I'll work on it and let you know how it goes.
Bob :kickdancing:

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #4 on: March 22, 2008, 11:21:00 PM »
Ok   Guess what? 

Samisite now has an ANNEX.  I made a new Google Page.   :boogie:
You will see a working iframe, image and text link!

http://samisite.googlepages.com/home

Codes used:
IFRAME:
Code: [Select]
<iframe name="FRAME1" src="google_iframe.txt" frameborder="1" width="400" height="80"></iframe>
IMAGE LINK:
Code: [Select]
<a title="Click the image and see the larger one in the iframe" href="sswebdesign_194.jpg" target="FRAME1" alt="Click the image and see the larger one in the iframe"><img src="sswebdesign_194_tiny.jpg" border="0"></a>
TEXT LINK:
Code: [Select]
<a href="google_iframe.txt" target="FRAME1">Change Iframe content back</a>

I used the edit html option at the bottom of the page to insert IFRAME and LINKING codes into the web page.  Links can point to images, web pages, files (pdf, txt).

The iframe starts by pointing to a simple text file.  But other things can appear within the iframe, the content can be changed by simply pointing the links to the iframe FRAME1.

Use the IMAGE button to upload your tiny and large images to Google.  Then put your code into the webpage with EDIT HTML button.  Adjust the code so you are showing YOUR images. Full web address was not necessary since I uploaded the fite to google.  When I tried this, Google changed the size of the image so I clicked the image to EDIT and set it to CUSTOM, back to original size. Now the tiny version looks correct.

I do not recommend you use a TXT file.  But if you do, use the IMAGE button to upload your txt file to your storage area with google. A warning will appear, and that's ok.  Do it anyway.  TXT files can be seen in MOST browsers.  Usually you start your iframe pointing to a webpage not a text file.

CLICK HERE FOR MORE IFRAME INFO - more options, code changes and lots of examples.
« Last Edit: March 22, 2008, 11:37:24 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #5 on: March 31, 2008, 12:42:58 AM »
Hello Sami,
Thank you very much for the consise instructions for the iframe. I got it to work! :clapping: The only problem I'm having is getting the autotransparency to work. I'm putting in the code for the iframe with transparency, but the iframe still shows up with a white background against my black webpage. I tried the instructions to a tee, and it still isn't changing the bg color.
Thanks again,
Bob

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #6 on: March 31, 2008, 08:08:02 AM »
Transparency works with CONTENT PAGES. In other words, you must be pointing your links to web pages to get the transparency to work.  Requires a code on the main page (with the iframe) and a code on the content page (seen through the iframe). 

Currently you are pointing to PHOTOS (jpg images) not web pages.  If you want to use a matching background, put the photos on web pages and link to the web page.  Linking directly to photos you will have a white background (default for browser).  Never heard of any way to change that color.

As example, Click the images and you will see that the background color matches only because I am not linking to the photo themselves.  I put the photos on blank web pages with a light background color and those pages are seen through the iframe.  When you link directly to the photo itself, you get the white area as seen in this example. The lower iframe links directly to photos.

My transparency tutorial shows both codes that are necessary.
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #7 on: April 08, 2008, 01:02:17 AM »
I'm afraid I just don't get it. I've tried and tried to relate my problem with your tutorials and I just can't do it.

For one thing, in the Pirates Cove tutorial, the applet that it's referring to never shows up in my computer. It's just a white box with an x.

Another thing, in instructions 2 it says in the iframe code add ALLOWTRANSPARENCY=TRUE, but in the code i have in there now it says...allowAUTOtranparency. I don't know if that matters or not but I don't know which one to use. Of course any little mistake makes the whole thing fail.

Also, it says "In the content page (the page seen through the iframe), add
 <style type="text/css"> body {background-color: transparent} </style>"....well I'm not even sure which is "the page seen through the iframe". I don't get that statement.

Also, I don't understand what you mean about having a web page for the images. Do you mean that each image has to have it's own web page or can I put several images on a web page?

This is a little too vague for me...Sorry, I'm just not getting it.  :banghead:

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #8 on: April 08, 2008, 01:39:17 AM »
Also, I made a web page and put an image on it. Then I linked the thumbnail to the page with the image on it, and it tried to put the whole web page in the iframe instead of just the image.

I'm obviously not getting this at all.

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #9 on: April 08, 2008, 02:13:54 AM »
Here is a test page i made to show the problem i'm having.

http://pages.google.com/edit/rkartstudio/test1main?authtoken=2fcd2a53f53ad4c422af6e1d34bfd613b2b1cdd4

I can't seem to make a page with just the image in it with Google. It has to include all the pre-designated design stuff.

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #10 on: April 08, 2008, 02:52:23 AM »
I tried another solution to the problem.

I made another image of the original in Photoshop. This time I put a black backgroung to match the dimensions of the iframe on the site. Well for some strange reason, there is still white on the top and left of the image. It seems that the iframe is throwing the image down and to the right.

Another attempt thwashed!...oh boy.

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #11 on: April 08, 2008, 02:54:23 AM »
Oh, here's the link to what I'm saying:


http://rkartstudio.googlepages.com/rk-studiohomepage

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #12 on: April 08, 2008, 11:33:19 PM »
Quote
Also, I made a web page and put an image on it. Then I linked the thumbnail to the page with the image on it, and it tried to put the whole web page in the iframe instead of just the image.

I'm obviously not getting this at all.
Actually you were on the right track!  The problem is a little bit yours but a LOT MORE is caused by googlepages! 
I address confusion and the google issue below.


ok.... lets try again.  It is really very simple.   :yes:  But you must do some manual things to get it to work. 

CONFUSION.... lets step through this thing one step at a time.

An iframe is just a box, a WINDOW cut into your web page.  You define what kinds of things you want to see outside that window. At home, my front window ALWAYS looks at my front yard.  Imagine if I could have a window that changed views!  That is your iframe.  What do you want to see through that window?

1) transparency only works when you have a main page (h##p://rkartstudio.googlepages.com/rk-studiohomepage) and a content web page.
You don't have any content pages. Content pages are simply web pages built with content (photos, text, lists, something you want to see in the window of your iframe) that you intend to only show through the window of your iframe. 

2) Two pieces of code must be used. 

One is placed on the main page. 
<iframe name="FRAME2" src="yourwebpage.htm" frameborder="1" width="400" height="80" allowTransparency></iframe>

The other code is put on the content web page.
Code: [Select]
<style type="text/css">
body {background-color: transparent}
</style>

You have an iframe code on your main page:
Code: [Select]
<iframe name="FRAME1" src="http://rkartstudio.googlepages.com/101BlackBorder.jpg" frameborder="0" width="380" scrolling="no" height="280" allowTransparency></iframe>
And you have many small thumbnails on the left. 
All the thumbnails link to large photos (jpg files).
And there is white space around the photos.

Code: [Select]
<center><a title="Click the image and see the larger one in the iframe" href="http://rkartstudio.googlepages.com/1111r.jpg" target="FRAME1" alt="Click the image and see the larger one in the iframe"><img tabindex="0" src="http://rkartstudio.googlepages.com/1111r-thumb.jpg" border="0"></a></center>
None of those links point to a CONTENT page (photo1.htm, etc) that will be seen through the iframe.
You are linking directly to a photo file without it being in a web page. 
That's perfectly fine, if you do not expect transparency.
If you link directly to a photo file (gif, jpg, bmp, png, etc) you will ALWAYS get a white area around it. ALWAYS.
If you want to have transparency, you must do more work.


You break the rule #1 by not having CONTENT web page.
And break rule #2 because you do not have your 2nd code on the content page.  Putting transparency is allowed in the main iframe code means nothing without the second piece of code.

SO....
Put a large image on a web page. And call that web page into your iframe instead of linking directly to the image itself.

Here's your biggest Problem!
Google pages do not allow you to remove the background image/pattern as you found out.
This causes havoc, showing you components of the web page instead of the image you want.  Not good.

You must make MANUAL web pages that will become your CONTENT pages. Takes less than 1 minute each.

Use this web page code in NOTEPAD to make very basic web pages that hold your LARGE images.
This simple web page has the style code that makes the background transparent AND calls in your large image.

Code: [Select]
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  <title>photo1</title>
<style type="text/css">
body {background-color: transparent}
</style>
</head>
<body>
<img src="yourimagenamehere.jpg" border="0" width="194" height="58" alt="your rollover comment here" align="top">
</body>
</html>

Upload your images and simple web pages to your google account.  Then set links to those CONTENT pages.

I have demonstrated this on my googlesite SAMISITE ANNEX. Just click the link for "how to make a transparent iframe" to see samples and read more instructions.
« Last Edit: April 09, 2008, 12:06:20 AM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #13 on: June 03, 2008, 04:17:20 PM »
After trying so many times, I have worked on this since early April and I still can't get this to work. I hate to say this but sometimes you say to point to the image and sometimes you say to point to the web page. Can you tell me for sure which one to point to?

Also, I still have a white border on the left and on the top. I'm using transparency and it's still showing white on the side and top. uuurrrggg!

Also, some of your code samples say "frame name" and some say "frame style" can you tell me for sure which one to use. As you know, code has to be absolutely perfert to work.

Thanks

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Transparency not working in Google...Please Help!!!
« Reply #14 on: June 03, 2008, 04:31:06 PM »
I've been trying for 2 months to make transparency work in Google pages, but still can't get them to work. I've tried everything and there's still a white borger around the lefy and top of the image. I know some HTML but I guess you have to be an expert to make it work.

Offline hidden

  • Global Moderator
  • Senior Member
  • *****
  • Posts: 1497
  • I Dare to Dream!
    • InspirationMotivation.com
Re: iframes in google page creator
« Reply #15 on: June 03, 2008, 06:58:28 PM »
Just curious.. are all of the images you are pulling into your iframe the same size in width and height?
Success is a way of life found moment by moment

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #16 on: June 03, 2008, 08:16:38 PM »
My earlier reply (april 8th) on this thread, described what you need to do.  Step by step AND I gave you a link to my google page that dealt SPECIFICALLY with transparency.

What you want to do CAN be done.
But it can NOT be done the way you are doing it.

- DO NOT LINK DIRECTLY to the image.  You will get the white edge.  Period.
I discussed that in my earlier post and pointed to the fact that your links point to .jpg files not to htm or html pages as they should.  As long as you point directly to the jpg files you will be disappointed.

- You MUST put the images into web pages.  And call those web pages into your iframe. 

- As mentioned in my earlier post, GOOGLE will not allow you to remove or change the background on pages built in their framework. You also can not make them transparent. Period. Even if you put the images into google built pages, your iframe will not allow you to make the background transparent. Period.
But you can get around the GOOGLE limitation.  If you make manual web pages as I described above using a tiny piece of code, the background can be made transparent. Simply a matter of:
  -- copying the code I gave you (repeated here again),
  -- paste it into NOTEPAD,
  -- tweak to match YOUR site and YOUR image,
  -- save as photo1.htm
  -- upload to your website along with the image that you want to show on that page.

Code: [Select]
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  <title>photo1</title>
<style type="text/css">
body {background-color: transparent}
</style>
</head>
<body>
<img src="yourimagename.jpg" border="0" width="194" height="58" alt="change this text to what you want to say if someone mouseover the image" align="top">
</body>
</html>

Repeat for each image you need to display.  You could have photo1.htm, photo2.htm, photo3.htm, manual web pages all made in NOTEPAD and uploaded to your google webspace.  And upload the image that is associated with each web page.  You can name the webpages to match the images (ex:  photo1.jpg displayed on photo1.htm, etc)   

- Then link to those web pages NOT THE IMAGES.  You would link to photo1.htm NOT photo1.jpg
If you point your link to photo1.jpg you will get the white area.
If you point your link to photo1.htm you will have a transparent area around the image!

All of this is demonstrated on the samisite annex on this google page about transparency and iframe.


Until you make the MANUAL web pages and point your links to those web pages, you will get the white area.
You can not do all of it directly in GOOGLE framework.

If you try the transparent codes I have given, make a manual web page as I have instructed, uploaded it and linked to it and it still does not work, then tell me and I will revisit your pages to check your code for any errors.
« Last Edit: June 03, 2008, 08:32:02 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #17 on: June 07, 2008, 09:56:05 AM »
Ok, I've tried and tried and tried again and still can't get this to work. I will tell you the sequence that
I used so that maybe you can see what I'm doing wrong. Please remember, I'm not an expert in html.
First, let me explain what I DO understand so far.
I DO understand about the window being cut into the webpage so that the image can show through the iframe
window.
I DO understand that GOOGLE will not allow you to remove or change the background on pages built in their
framework.
I understand that you have to have a webpage for each image that you want to display in the iframe.(photo1.htm, photo2.htm, etc.)
Also, I understand that you have to link to the webpage that contains the image and not the image itself.
I REALLY DO understand these things.

What I'm getting confused about are these things:
Why upload the notepad file to Google when the code can be put directly in the webpage?

1)I copied and pasted the code that you gave and put it into Notepad.
2)Then I uploaded it to Google in the section that says "Uploaded Stuff"
It's listed there under the name "Photo1.htm". (the confusion I have with this is that I don't know why you say to upload it here when it's code that seems to be needed on the Photo1.htm page itself). I trying to figure out why it has to be in the list.
3)I then made a new web page called photo1.htm

Wow while writing this page, I just got it to work. Here's the code I have for the thumbnail picture.

<center><a title="Click the image and see the larger one in the iframe" href="photo1.htm" target="FRAME1" alt="Click the image and see the larger one in the iframe"><img tabindex="0" src="http://rkartstudio.googlepages.com/101thumb.jpg" border="0">[/url]</center>

I don't know if this is right or not but it worked.

However, I had the code in the Photo1.htm page and it disappeared! But here's the weird part...it still works! I even deleted the photo1.htm page, and it STILL works! How can that be? If you don't beleive me, just go into the site and you'll see.

Now I don't have the code that I had on the photo1 page.

Well I'm kinda stuck for now I guess.

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #18 on: June 07, 2008, 10:42:36 AM »
I really wish I knew what to do here. I would be saving months worth of work which I'm sure can be done in a matter of minutes if you know what your doing.

It really confuses me as to why I should...which I did, put the code that you said to put in Notepad, upload it to Google. I'm still trying to figure out if I should put it in the part that says "uploaded stuff" (which I did), then what should I do with it once it's there? I made 2 different pages that are named photo1.htm, and photo2.htm, but I'm sooooooooooooo confused as to what code to enter in there, and what code to put in the home page where the thumbnails are to click on to get the large picture in the iframe. This doesn't make any sense to me whatsoever. :banghead:

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #19 on: June 07, 2008, 10:54:11 AM »
I can't explain why the first frame is working when there is nothing on the photo1.htm page...what a mystery! As far as the page photo2.htm goes, I would think that that's the one that should be working and it's not. In the third paragraph of the html, I have it pointing to the web page instead of the image and it still doesn't work. I have no other ideas as to why it doesn't work but I've been up all night working on this to no avail.
Please look at my code and see if you can see what's wrong with it because I have no clue anymore.

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #20 on: June 07, 2008, 03:32:46 PM »
Thank you for coming back to post. 
They really helped to explain where YOU are in the process and what has been done.
That makes it easier to help you to get where you need to go.   :clapping:

You are getting there one step at a time.   
As a novice, there are some things you just don't know and those things can really mess you up!
Let me clarify a couple things and you will have the rest fall in place!   :yes:


1) Using NOTEPAD.  WHY?  What is that about???
Notepad is a tiny little file editor built into every windows machine. Many uses for this practical little wonder.
It is the perfect place to copy/paste information you need at hand and perfect place to make notes.  I have a list of SHOPPING items that is temporary...Need to find something and compare prices, I paste the urls into a txt file, save that txt (text file) onto the desktop and come back to that for quick reference. Then delete when I'm done. You can paste text into it that has bolding underlines, etc, and when you copy it again from the text file, all formatting is removed. This comes in very handy. There are a TON of uses I won't go into.

For this situation, I asked you to open NOTEPAD because it is an HTML editor!
Html code does not require a special program. They come in handy (highlight codes, etc) but they are not necessary, especially for what WE want to accomplish in this task.  Some people write full websites in NOTEPAD, from scratch!

Quote
Why upload the notepad file to Google when the code can be put directly in the webpage?

I asked you to paste the code <html>..given above..</html> into the white screen of NOTEPAD then save the file as photo1.htm instead of using the default .txt file extension that NOTEPAD normally uses.

By saving the file as an .htm (or .html or .php) you have manually created a real web page!
Yes... That code I gave you IS a COMPLETE simplistic web page.
The code doesn't go INTO a web page because it IS a web page all by itself!
The code is just as valid as if you created it with Dreamweaver, or Google's online web builder.
The file doesn't look special but it is!
Google has no control over the formatting of this web page because YOU made it. 
So in the html code you paste in, you can have instructions for transparency or anything else you want! You can call any photo into the page, use any colors YOU want (not limited to their choices) and you could even add a decription below the image on your manual web page.
You upload this file photo1.htm to your google storage space, UPLOADED STUFF.

Quote
then what should I do with it once it's there?
You point a link to it from your main page using a text style link or a thumbnail link.
Your photo1.htm file just sits there working for you.
This allows the browser to find a web page called photo1.htm when you link to it.
- If you visit your existing photo1.htm page directly You will see the default windows background (plain white).  Click your toolbar at the top VIEW > SOURCE to see the web page code which includes the transparency setting.
- When someone clicks the thumbnail on your home page, the link loads that little manual web page into your iframe! And best yet, because the code says the background is transparent, you will see your normal background color around the image!  Right now that means you get BLACK around the image.
- If you don't upload the photo.htm web page file to your space, no one can find a web page called photo1.htm because it will not exist.
- If you pasted the code into a Google webpage: 1) you would be duplicating code (since the code already creates a full webpage); and 2) you can not control the background of Google pages so it defeats the purpose.

Now as I said before, that little file is a COMPLETE WEB PAGE. 
Yes, you made it in NOTEPAD.
But now that you named it with a .htm or .html or .php file extension, it can be viewed in your browser window.
You put it on your Google account so that web page can be pulled into your iframe when your thumbnail is clicked.
Remember that YOU were making it in NOTEPAD, editing the code.
But when we visit the web page in a browser, you will see the RESULT of your work, not the code itself (just like this page shows the RESULTS of the code, not the code itself). 
You can edit it again in NOTEPAD if you want.  Just open NOTEPAD, FILE OPEN and open the file.
Think of it like working on the back of the paper with all the notes about the project, but the front of the page has all the pictures and pretty text...the browser always shows the FRONT of the web page with the pictures, text, etc but does not show all the detailed coding....




2) Photo1.htm and photo1.htm  SAME PAGE?  CONFUSION!!!
Ok...Granted this is very confusing.

Basic stuff: (Forgive me if you know this, just want to lay a good foundation for the rest)
Web hosts (like Google and others) have servers that hold the web pages.  Servers are computers that allow the outside world to connect to them and download/upload information.  Your home computer is not a server. But can be used as one if you install software that would allow me or others to connect to your machine from the outside.

Windows servers are not the same as Linux/Unix servers. Different operating systems.  Very different operating systems.  Won't go into why a company would choose to use one over the other.  Just accept that both are used throughout the world, both are viable and acceptable.  BUT very different.  Your browser doesn't bother to tell you that when you connect to this forum (on samisite.com) you are visiting a LINUX server.  But it will behave differently. 

For YOU, the biggest difference is how web pages are named.  This will be totally new to you.

Windows servers (and your home computer) will see these 7 files as the same file:
    Photo1.htm, photo1.htm, PHOTO1.htm, PHOto1.htm, PHotO1.htm, pHOTO1.htm, phOto1.htm
You can not put those seven files into the same folder on your computer.  Windows will say you have that file and want to replace it with the new version because Windows is NOT case sensitive.

You can try it....
Open NOTEPAD.  Type in a sentence "SAMI IS NOT CRAZY!"
File > Save As >  sami1.htm    (put it on your desktop for quick reference)
Then choose File > Save As >  SAMI1.htm (again to same desktop area) and you will get the REPLACE FILE? box.
You can not have both sami1.htm and SAMI1.htm


BUT.... This is where you get twisted up (like the rest of us)   :yes:.....

LINUX/UNIX servers will see these 7 files as the totally different files!:
    Photo1.htm, photo1.htm, PHOTO1.htm, PHOto1.htm, PHotO1.htm, pHOTO1.htm, phOto1.htm
You could have seven different web pages on your website, all spelled the same, but the CApS are DifFErent.
Linux servers will allow you to point links to each of those seven different pages, even though they carry the same name!  Linux/Unix servers are CAsE SenSITive!
:ss-shocked:  :ss-shocked: :ss-shocked:
This can cause headaches for people that do not know about it!!!

I told you to use this code to link your content pages:
Code: [Select]
<p><a title="Click the image and see the larger one in the iframe" href="photo1.htm" target="FRAME2" alt="Click the image and see the larger one in the transparent iframe"><img tabindex="0" height="21" src="sswebdesign_194_tiny.jpg" width="70" border="0"></a> </p>
Notice that I am pointing to href="photo1.htm" in that code.  ALL lower case letters.
I also told you to make save your NOTEPAD page as photo1.htm , also with only lower case letters!  I made sure my instruction matched.

That should have been the end of it for you.
The images (thumbnail and larger one) are uploaded to Google.
You make a manual web page in NOTEPAD, put the image code in it, upload it, point a link to it into the iframe.
The link and the web page both lower case and match exactly.
Done.


But......
You made the confusion worse than it needed to be. :yes:  You did not follow my instruction and went off to do something yourself, similar but not the same.  And it went wrong.  Lets dissect it so you see what went wrong and why....

I said (and provided code for each step):
Quote
You must make MANUAL web pages that will become your CONTENT pages. Takes less than 1 minute each.
Use this web page code in NOTEPAD to make very basic web pages that hold your LARGE images.
This simple web page has the style code that makes the background transparent AND calls in your large image.
Upload your images and simple web pages to your google account.  Then set links to those CONTENT pages.

You said:
Quote
2)Then I uploaded it to Google in the section that says "Uploaded Stuff"
It's listed there under the name "Photo1.htm". (the confusion I have with this is that I don't know why you say to upload it here when it's code that seems to be needed on the Photo1.htm page itself). I trying to figure out why it has to be in the list.
3)I then made a new web page called photo1.htm


I told you to make a file called photo1.htm and upload it to your website.  That creates a web page called photo1.htm.

Your #2 above says you made a file called Photo1.htm
WHOOPS....you did not use all lower case as I asked. This caused major confusion because the code is looking for photo1.htm NOT Photo1.htm.  This file would not work with the code I gave you.

Your #3 above says you then made a new web page called photo1.htm
Ok....do you see that you made 2 versions of the same page? Same spelling but CAps Were Different so Linux sees this page differently than Photo1.htm.

You should only have ONE web page called photo1.htm, made in NOTEPAD as I instructed.  No caps.  The web page INCLUDES all the html coding you absolutely need (transparent background and  calls in a specific larger photo) because I gave it to you that way. 
REMOVE your Photo1.htm from your google account!

Your photo1.htm is correct.  You made it in NOTEPAD.
Your uploaded it to your google account.  GREAT!  Leave it alone!

For reference, you made the content page for your first photo like this:
- OPEN NOTEPAD
- Paste in this code:
Code: [Select]
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  <title>photo1</title>
<style type="text/css">
body {background-color: transparent}
</style>
</head>
<body>
<img src="101-378x280.jpg" border="0" width="378" height="280" alt="Landscape 101" align="top">
</body>
</html>
File save as photo1.htm




SO .... in the end 4 lessions are learned about this project:
1) NOTEPAD can be used to CREATE a web page. The full code of a web page can be just a few short lines or several thousand lines long. NOTEPAD is a great simple editor that can be used to tweak pieces of code, or the whole web page, like the content pages used in this project.

2) CODE must match file name EXACTLY. Be careful when you tweak code for ANY purpose.  One tiny character out of place CAN cause the page to fail.  If you point to photo1.htm you better have a page set up as photo1.htm  Case sensitivity counts when making links, page names, file names, you name it.
Read more about proper file naming here under our website best practices.
Also, for future reference, this is a basic list of website terminology that may at some point be helpful

3) You need an iframe on your main page (you have one and it works).   :clapping:

4) For each thumbnail/large image combination, you need matching link to content page...
- a thumbnail link that points to a content page photo1.htm 
- a content page photo1.htm 
------------
- a thumbnail link that points to a content page photo2.htm
- a content page photo2.htm
------------
- a thumbnail link that points to a content page photo3.htm
- a content page photo3.htm

To make the process faster, copy paste and tweak in batches.

MAKE YOUR THUMBNAIL LINKS:
Put in your links to your manual web pages photo1.htm, photo2.htm, and photo3.htm

(using your code from your home page)
Code: [Select]
</p>
<center><a title="Click the image and see the larger one in the iframe" href="photo1.htm" target="FRAME1" alt="Click the image and see the larger one in the iframe"><img tabindex="0" src="http://rkartstudio.googlepages.com/101thumb.jpg" border="0"></a></center>
<p></p>


Copy the code.  Change the html page name and the photo to be shown.
href="photo1.htm" becomes href="photo2.htm"
101thumb.jpg becomes 202thumb.jpg
Paste the modified code into your Google web page for your second thumbnail link.

Repeat the copy/tweak/paste again for a third thumbnail lnk....
Repeat the copy/tweak/paste again for a fourth thumbnail lnk....


MAKE YOUR CONTENT PAGES:
Open your photo1.htm file
FILE SAVE AS photo2.htm and change the name of the photo inside it.
Save the file and upload it to Google with the image you want to appear on the page.

Open your photo1.htm file
FILE SAVE AS photo3.htm and change the name of the photo inside it.
Save the file and upload it to Google with the image you want to appear on the page.





Please let us know if that gave you the AH HA! :idea: moment.  Let us know how it goes. 
If you are still stuck, give us another post that tells us your thoughts/actions so we can direct you.
« Last Edit: June 07, 2008, 10:32:41 PM by Samrc »
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #21 on: June 15, 2008, 07:32:45 PM »
Thank you Sami!!!
I finally got it to work! I got the AHA! moment.  :idea: I didn't realize that the .htm file was an actual webpage. I thought you had to make a page just like the other ones. I learned a good lesson on that one. :boogie:

Now it's just a matter of time instead of how to do it. I'm going to learn more about html so I can understand problems easier and how to figure out solutions with a better chance of success.

Thank you very much for your time that you spent to get me to understand this.

Bob
« Last Edit: June 15, 2008, 08:18:40 PM by Samrc »

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #22 on: June 15, 2008, 08:28:37 PM »
Quote
I didn't realize that the .htm file was an actual webpage. I thought you had to make a page just like the other ones.

Yes...I could tell that from your last post.
So glad you now understand that that tiny little code makes a full web page.
And you get the basic premise.
Congratulations!!!
 :hapscream: :hapscream: :bdballoon: :bdballoon: :hapscream: :hapscream:

Quote
Now it's just a matter of time instead of how to do it.
You just open the one web page in NOTEPAD and rename it by using File Save As, then change the name of the photo in your code and save.  You can make a TON of these little pages in minutes.
Then just upload your images, web pages and make your links.

Quote
Thank you very much for your time that you spent to get me to understand this.
You are welcome.
We have all started the same way. 
Though we used different software to build the web pages, we have all been "Noobies" and needed a leg up to get started!
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Junior Member
  • **
  • Posts: 40
Re: iframes in google page creator
« Reply #23 on: June 23, 2008, 04:23:51 AM »
Here's a new problem I'm having that's even more baffling to me than the others! :banghead: On my "Drawings" page, I'm trying to link the second thumbnail image to my second image in my iframe, but for some reason it's trying to link to a file name that doesnt' even exist! When I preview the webpage so that I know whether or not to publish it, it doesn't work. When I cllick on the thumbnail for the second image, I get a red x in the box. Then when I clicked on "properties", it said the file name is 133-380px.jpge. I never ever ever ever put an e at the end of .jpg. I never do that. What's worse is that I can't fix it. In my image files that I have stored in Google, the file named 133-380px.jpge dosen't even exist. Nor is it in any of the html on the pages for the iframe or the thumbnail. I can't find that file at all. I can find the one with 133-380px.jpg...(without the e at the end. This process is so tedious, it's driving me up the wall. I've tried to fix this for about the last two hours and to no avail.

Please help!
Bob
« Last Edit: June 23, 2008, 08:37:47 AM by Samrc »

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: iframes in google page creator
« Reply #24 on: June 23, 2008, 09:28:11 AM »
Hard to coach you about links on a page that hasn't been published yet. You can see it does not work in preview but we can not see it at all. Hard to direct when we can't see what you see.

Chances are, you copied and pasted the code (as we all do) and modified it.  The extra e may have come from deleting letters/characters and leaving a partial name behind, or your finger hit it by accident, etc.  But it really doesn't matter HOW the e got there.  It is there.

Quote
Then when I clicked on "properties", it said the file name is 133-380px.jpge. I never ever ever ever put an e at the end of .jpg. I never do that.
I believe you.  The images are probably named just fine. so forget about looking at the images themselves.

Quote
When I cllick on the thumbnail for the second image, I get a red x in the box.
From your description, the thumbnail is showing fine and it has a link to a webpage that will load into an iframe. You can eliminate the LINK CODE from being the culprit too.

- SO... that means your error is in the manually created html page that holds your large image.
You can just create a NEW page for that image, and upload it to GOOGLE, keeping the same name and just replacing the older one OR you can use NOTEPAD to edit the existing page. Look at the code carefully.  Check the image name in that code.  I am sure you will find an extra e in the name of the image in that code.  Correct it.

Quote
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  <title>photo1</title>   
<style type="text/css">
body {background-color: transparent}
</style>
</head>
<body>
<img src="133-380px.jpg" border="0" width="378" height="280" alt="Landscape 101" align="top">
</body>
</html>

Comes back to the important lesson:   CODE must match file name EXACTLY.
-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )