Html Coding!

skippersworld

Suspended / Banned
Messages
105
Name
Tommy
Edit My Images
Yes
If anyone knows how to use dreamweaver and could help me with a little something it would be much appreciated! I wanna link something from the bottom frame into the main frame but when doing that i want it to show up centred.!. Any help much appreciated!! Thanks a lot!
 
I'm not sure what you're asking, could you elaborate please?
 
Ok, On dreamweaver im trying to design my own Photo gallery and atm, ive made to frames, a Bottom Frame and a Main Frame. The bottom frame i want to have the thumbnail size version of the photos and once clicked on a bigger version shows in the main frame! i've got the link working and the picture comes up in the main frame but aligned to the left which i dont want, i want it to align center! Hope that helps
 
are you linking directly to a picture from the bottom frame.. ie to an url that ends in jpg ? cus thats how it sounds.. if you are then your going about it the wrong way
 
Add <center> ... </center> around the coding which assigns the pic to the main frame.
 
are you linking directly to a picture from the bottom frame.. ie to an url that ends in jpg ? cus thats how it sounds.. if you are then your going about it the wrong way

She (or he) is using frames, so the link will assign the "new page" to the main frame.

Your first problem is using Dreamweaver, your second problem is using frames. Do some reading on beginners HTML guides and learn to code yourself using Notepad rather than a graphical tool like Dreamweaver.
 
She (or he) is using frames, so the link will assign the "new page" to the main frame. .

it also works by linking straight to the image and thats why i am asking if he is doing that.. if he isnt then its simple enough to add code to the page he is calling to make the pic center.. however I would like to see if he is pointing to a page or to a picture
 
You need to use javascript to do what I think you want to do.

I'm guessing you want to click a thumbnail and have a large image appear in the frame above the row of thumbs?
 
You need to use javascript to do what I think you want to do.

I'm guessing you want to click a thumbnail and have a large image appear in the frame above the row of thumbs?

thats what he seems to want.. and he doesnt need to use javascipt.. he probably could.. but he doesnt need to :) he already has the picture appearing.. he wants to center it.. with the best will in the world you dont need javascript to center a picture :)
 
She (or he) is using frames, so the link will assign the "new page" to the main frame.

Your first problem is using Dreamweaver, your second problem is using frames. Do some reading on beginners HTML guides and learn to code yourself using Notepad rather than a graphical tool like Dreamweaver.

What's wrong with Dreamweaver? It's got a text editor too right? If you're going to recommend a text editor at least recommend one with code complete such as TextMate or Aptana for Eclipse.
 
What's wrong with Dreamweaver? It's got a text editor too right? If you're going to recommend a text editor at least recommend one with code complete such as TextMate or Aptana for Eclipse.

i wouldnt give dreamweaver house room ... ultraEdit32 is my text editor :)
 
thats what he seems to want.. and he doesnt need to use javascipt.. he probably could.. but he doesnt need to :) he already has the picture appearing.. he wants to center it.. with the best will in the world you dont need javascript to center a picture :)

Yup, that'll teach me to read all the posts first!
 
i wouldnt give dreamweaver house room ... ultraEdit32 is my text editor :)

I use Eclipse for all my AS3 and PHP/HTML coding. Not using Dreamweaver, but it's not as bad as people make, especially if it's the only thing you've got to code on.
 
What's wrong with Dreamweaver? It's got a text editor too right? If you're going to recommend a text editor at least recommend one with code complete such as TextMate or Aptana for Eclipse.

Don't get me started.... Dreamweaver is an outdated pile of rust which spews unnecessary code all over the place.
And you don't need anything more than notepad for HTML of any flavour. No need to be a pedant Kay :nono::woot:
 
Not being a pedant, just realistic. You're not one of those code purists are you? Like I said, dreamweaver has a text editor which only puts in the code that you type. You might be referring to the WYSIWYG editor, but I wasn't ;)
 
I use Eclipse for all my AS3 and PHP/HTML coding. Not using Dreamweaver, but it's not as bad as people make, especially if it's the only thing you've got to code on.

dreamweaver is a bit overkill to use as a text editor :)
 
Dreamweaver will get dropped by Adobe for sure however.
 
dreamweaver is a bit overkill to use as a text editor :)

I know it is, I was only stating the fact it had a text editor... you just need to read my posts again ;)

I like a good web development argument, especially among fellow developers.
 
What's the point in using notepad when there are things such as notepad++ available?
 
Not being a pedant, just realistic. You're not one of those code purists are you? Like I said, dreamweaver has a text editor which only puts in the code that you type. You might be referring to the WYSIWYG editor, but I wasn't ;)

Ah, fair enough... and no, I'm not a purist but I prefer to use an editor which doesn't try to "help" me :)
Nothing wrong with any of the text editors, I've tried a few, but always seem to go back to notepad. Call me loyal if you may :D

I know it is, I was only stating the fact it had a text editor... you just need to read my posts again ;)

I like a good web development argument, especially among fellow developers.

Indeed :rules:

What's the point in using notepad when there are things such as notepad++ available?

What's the point in baking Yorkshire Puddings when you can buy them ready made? I use notepad because I've never found the need for anything else. Notepad++ is cute, I'll give you that :)
 
What's the point in baking Yorkshire Puddings when you can buy them ready made? I use notepad because I've never found the need for anything else. Notepad++ is cute, I'll give you that :)[/QUOTE]



Are you for real .... ready made ones, especially Aunt Bessies are made from a special plastic designed to bend knives.
For gods sake make your own its not hard

Flour about 200g plain not self raising
2 Eggs
1/5 a pint of milk and some salt.....perfect and yep I do the yorkies in our house
 
yawns - use the tools in the box

Why are you using frames - they are a nightmare, both in terms of SEO and inbound linking
 
personally, I use Notepad++ for all my coding, however, none of you seem to be asking the correct questions....

Why create your own gallery in dreamweaver when you can just create the front end and use one of the free image galleries out there and just skin it?? :D
 
What's the point in baking Yorkshire Puddings when you can buy them ready made? I use notepad because I've never found the need for anything else. Notepad++ is cute, I'll give you that :)
Notepad must get really annoying. I can only imagine the nightmares when your trying to rapidly prototype something and it doesn't indent. The lack of auto-indentation is one of the main reasons I do not use Notepad.

Seriously, what is the point in using a text editor that doesn't even get character sets correct frequently when there are miles better things available to download and use in about 2 minutes?
 
Editors that give you code complete are awesome. What normally takes 10 minutes to code you could find it sliced in half almost, sometimes more. Rapid prototyping ftw tbh.
 
http://skippersworld.co.uk/UntitledFrameset-4.html Thats what i have done, just made it quickly so you can see! When u click on the little image big one shows up but how do i center it? Must be a way surely?

Hi, I have used frames a lot in the past so hopefully I can shed a little light on this for you.
I have had a look at some of your coding and there is a slight problem with the line below, between the body tags.
<body>
<div align="center"><a href="Foxglove.jpg" target="mainFrame"><img src="Foxglove Small.jpg" width="150" height="111" border="0" /></a></div>
</body>

all you are actually calling the link for your thumbnail to do is to open the large image inside your mainFrame.
What you need to do is write another html page see coding below:-

<html>
<head>
<title>Foxglove Large</title>
</head>
<body>
<center>
<img src="Foxglove.jpg" />
</center>
</body>
</html>

save this as (foxglove.html)

Now change the red highlighted line above in your UntitledFrame-5.html to:-

<div align="center"><a href="foxglove.html" target="mainFrame"><img src="Foxglove Small.jpg" width="150" height="111" border="0" /></a></div>


You will have to write individual html pages for each large image that you wish to target in the mainFrame doing it the way you want to.

You can fiddle around with the frameset by using rows and columns to section off various areas of the webpage and thus leaving a centered section where your large images can be shown by just calling the jpg, this would exclude the need to write individual html pages for each image.
The drawback to frames on web pages is that they all look slightly different on each browser and can be quite messy.

The easier option would be javascript.
I made a quick web search and found this site that might interest you:-

In-Line image Viewer

It is written in Javascript but is extremely basic, you don't need to use ant frames just build it into your index page.

Hope this helps. :D
 
Thanks for your help everyone especially kjevans, im just going to use your first idea you said! Nice and easy to do! Thanks!
 
Back
Top