ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Dreamweaver 8 help (https://www.scoobynet.com/computer-and-technology-related-34/539875-dreamweaver-8-help.html)

jaytc2003 29 August 2006 12:56 PM

Dreamweaver 8 help
 
Doing a personal website by using dreamweaver 8, and one of the pages contains my wedding photos.
I have set this particular page up as a 3 framed page, so I have the title in the top frame, and a series of thumbnail images in the left hand frame, and when these images are clicked you get a larger copy of the thumbnail in the main frame.
My problem is if I want to leave this page to return to the home page for instance, I only get the home page in one of the frames.

Is it possible to jump back to the home page and get rid of the frames or are you stuck with a framed page?

Would it be easier to use cells and put the smaller image in the cell and then use an event to place the larger imagine in the middle of the screen?

I've only been using dreamweaver for 2 days so I may not be fully upto terms with any answers so laymans terms would be best!:wonder:
Cheers
James

lightning101 29 August 2006 01:02 PM

When you click on the link to return to the normal unframed HTML page, look at the properties section for the link and there is a pull down titled "target", select the way you want the link opened from there :thumb:

Sub97 29 August 2006 01:03 PM

target="_top" should be what you want mate.

jaytc2003 29 August 2006 01:12 PM

piece of p!ss when you know how. Cheers lads! :thumb:

probably ask a few more questions later, like can you read data from an exel file (in csv format) and format it in a way so it looks like a shopping list etc, so if you ever need to update the list, you just update the exel file and upload that and the website just reads the new info?

Sub97 29 August 2006 03:10 PM

Yes, but from my limited knowledge of web programming, you'd need somethign like ASP, Pearl etc to be connecting to db files and generating the html from what they read in. In other words, quite a bit more complicated than what you're doing now :)

I'd be interested if there's a simple way though...

leerjwd 29 August 2006 04:26 PM

I'm fairly sure that excel can publish as web page, so you could then upload the webpage....

jaytc2003 30 August 2006 08:56 AM

Okay next question.

Going back to the frame page that I mentioned above, I have a series of images in the left hand frame, however there is no scroll bar so I cannot click on all of the images. Cant find anywhere how to add a scrollbar. When I click on a image and it opens in the main frame scroll bars appear for the main frame (I havent resized the images yet) so how do I add this to the left hand frame??

Cheers for any help
James

Sub97 30 August 2006 09:33 AM

SCROLLING=YES

The "scrolling" attribute for a frame can be

YES = scrollbars no matter what
NO = no scrollbars
AUTO= scrollbars if needed (default)

If you are sure about the height of your content (e.g. a GIF, text might depend on browser type and settings), you might also want to add NORESIZE
<FRAME SRC="..." SCROLLING=NO NORESIZE>

Sub97 30 August 2006 09:35 AM


Originally Posted by leerjwd
I'm fairly sure that excel can publish as web page, so you could then upload the webpage....


Originally Posted by leerjwd
I'm fairly sure that excel can publish as web page, so you could then upload the webpage....

True, but I didnt think that's what he was asking mate.

Do you want to just do this jaytc, so each time the csv file changes, you have to create a new html file from it, and upload it to your site? Or do you want it so you can just upload a new csv file whenever you like, and the web page that uses it updates automatically?

jaytc2003 30 August 2006 10:37 AM


Originally Posted by Sub97
Or do you want it so you can just upload a new csv file whenever you like, and the web page that uses it updates automatically?

Thats exactly what I want to do.

Going back to the scrolling though on the frame, my html code is as follows;

<title>Wedding Photos</title>
<style type="text/css">
<!--
body {
background-color: #000000;
background-image: url(Images/back%20texture.gif);
}
body,td,th {
color: #FFFFFF;
}
.style1 {color: #00FF00}
-->
</style></head>
<body>
<p><a href="images/00056A.JPG" target="mainFrame"><img src="Images/00056A.JPG" alt="photo 1" width="75" height="75" border="0" /></a></p>

<p><a href="images/00014A.JPG" target="mainFrame"><img src="images/00014A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00146A.JPG" target="mainFrame"><img src="Images/00146A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00141A.JPG" target="mainFrame"><img src="Images/00141A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00142A.JPG" target="mainFrame"><img src="Images/00142A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00140A.JPG" target="mainFrame"><img src="Images/00140A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00090A.JPG" target="mainFrame"><img src="Images/00090A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/00094A.JPG" target="mainFrame"><img src="Images/00094A.JPG" width="75" height="75" border="0" /></a></p>

<p><a href="Images/CIMG0416.JPG" target="mainFrame"><img src="Images/CIMG0416.JPG" width="75" height="75" border="0" /></a></p>

<p>Click photos to view full size image in the main window. </p>
<p>&nbsp;</p>
<p><a href="index.html" target="_top" class="style1">HOME</a></p>
</body>
</html>


What code can I add and where abouts to enable the scrolling?

Cheers


Sub97 30 August 2006 12:54 PM

You need to add it to the main html page that sets up the frames to start with, not to the actual page itself. I'm assuming it's the index.html page mate?

jaytc2003 30 August 2006 01:40 PM

sorted I was looking in the wrong page, wasnt in the index page as that is a basic type of page, found the scroll option in the page that sets up the framed pages.
Thanks again for the help, no doubt I will be back for more advise

Sub97 30 August 2006 03:08 PM

No worries mate :)


All times are GMT +1. The time now is 10:57 PM.


© 2024 MH Sub I, LLC dba Internet Brands