DPChallenge: A Digital Photography Contest You are not logged in. (log in or register
 

DPChallenge Forums >> General Discussion >> Any HTML code gurus?
Pages:  
Showing posts 1 - 19 of 19, (reverse)
AuthorThread
02/09/2004 12:14:01 PM · #1
I am trying to finish up my new website design, and am hitting troubles. Mainly with viewing IE. I am using GoLive to put it together. I am figuring out alot of source code through this, but some things are alluding me.
I have put together a page to automatically be "configured" through iView to make the index and media pages. I have much of that figured out but the problem comes when it "compiles." I have 3 buttons on the page (rollovers). A Home button, an Order button to connect the photo to my dpcprints of the photo and an Email that plugs in the image title into the subject line for email. It is all working fine, except when I have a photo that does not have a DPCPrints connection, I want it to send email the same way the email button does. It goes to email, but not with the subject filled in. It has the exact same code, also. If anyone has messed with iView and html, I would kiss your feet in figuring this one out.
Also, why does IE always look different than the other browsers. I have had to set up a browser redirect because if I have an autoslideshow (displays succession of images) the rollovers don't work and no slideshow either? I am confused. Maybe I should buy a book on it. (C:
If anyone wants to look Trial P4A is most of the site, except the iView links.
02/09/2004 12:39:24 PM · #2
Tracy, I have been using this site to help me with my HTML codes, its great, and it walks you through it, and has an index so you can go to where your question can be answered, if you want to try it. //www.davesite.com
02/09/2004 12:42:25 PM · #3
Great! Thanks for that one. Looked around, but nothing seemed very useful. Will start reading.
02/09/2004 02:37:39 PM · #4
To be honest with you if you continue using programs like GoLive, etc you're probably going to continue having issues with different browsers. Many of these editors cut corners when using Javascript so your scripts won't work right in some browsers. Others design tables that work excellent in one browser but completely fail in another.

Your best bet would be to start small and try to code something by hand. Even if it's just a very basic site you'll find that coding by hand gives you ultimate control over how your page looks.

I looked through your page and there are so many complex tables and lots of javascript. It's going to be difficult for you to troubleshoot exactly why IE isn't displaying the page correctly.
02/09/2004 03:07:47 PM · #5
i would have to agree with that - have had nothing but head aches using code gererating software. download a trial of allaires homesite. i have used that for years, and like it.

in all honesty i would worry more that it works in IE than anything else. the majority of web traffic goes through IE, best to please the masses... not that i support microsoft so much - but its easier to go with the flow that against it...


02/09/2004 03:24:46 PM · #6
All good advice here. Especially coding by hand and making things work / look best in IE.

A great book to start off with is HTML 4 for the World Wide Web by Elizabeth Castro. It's well laid out, has great explanation for most of the stuff you'll be doing and it's cheap. Fourth Edition on Amazon is what I've seen, but now they have a 5th edition which includes CSS (very important to learn) and XHTML - Fifth Edition on Amazon

02/09/2004 03:30:11 PM · #7
to fill in the subject of an email - one thats same each time the link is clicked.

Email Me
02/09/2004 03:42:27 PM · #8
There's also //www.w3schools.com which is a great resource for coding. I use it all the time when I can't quite remember which HTML/CSS snippet I should go with.

Message edited by author 2004-02-09 15:42:42.
02/09/2004 03:48:03 PM · #9
Originally posted by soup:

to fill in the subject of an email - one thats same each time the link is clicked.

Email Me

I've heard that you should not include such "Mailto" links as that's one way spammers can harvest valid addresses. The safest way is to include the email as part of a graphic -- the if person can't type in your email then maybe you don't want to hear from them ....
02/09/2004 03:52:17 PM · #10
I began writing HTML several years ago and wrote an entire website in notepad. This has now changed and whilst I still use notepad I tend to prefer a decent CMS and adapt it to my needs. Even if you have specific requirements at least you have the ground work done.

oh, and XHTML will become a must shortly.
02/09/2004 03:52:57 PM · #11
That's true GeneralE. What I usually do is create another email address specifically for feedback from my webpages. Actually, it's the same address I use for registering for sites like DPC as well.
02/09/2004 04:20:30 PM · #12
i use a perl/cgi script to parse a form. that deters spammers...

was just posting the simplest way to go about it..,..

Originally posted by GeneralE:

I've heard that you should not include such "Mailto" links as that's one way spammers can harvest valid addresses. The safest way is to include the email as part of a graphic -- the if person can't type in your email then maybe you don't want to hear from them ....


Message edited by author 2004-02-09 16:20:56.
02/09/2004 07:09:41 PM · #13
Originally posted by GeneralE:

I've heard that you should not include such "Mailto" links as that's one way spammers can harvest valid addresses. The safest way is to include the email as part of a graphic -- the if person can't type in your email then maybe you don't want to hear from them ....


You can do it if you URI encode the href (and HTML encode the link content if you use it to contain the email address). Browsers render everything correctly but harvesters are thoroughly confused. Using a graphic creates accessibility issues; better is to use javascript or cgi (as soup suggested) to achieve something similar. There are other methods (that I prefer), but those are the most popular.
Example:

r@w.c

Message edited by author 2004-02-09 20:01:59.
02/09/2004 07:20:46 PM · #14
yeah graphics links for important stuff are no good.

of course, it makes sense here... being a visual site...

Message edited by author 2004-02-09 19:20:58.
07/16/2004 10:44:17 AM · #15
Some explanations for weirdo errors in web pages generated by Microsoft software. Despite the formatting, it is more literately-written than the typical UNIX Programmer's Manual entry!

Demoronizer
07/16/2004 11:15:06 AM · #16
Originally posted by krets:

To be honest with you if you continue using programs like GoLive, etc you're probably going to continue having issues with different browsers. Many of these editors cut corners when using Javascript so your scripts won't work right in some browsers. Others design tables that work excellent in one browser but completely fail in another.

Your best bet would be to start small and try to code something by hand. Even if it's just a very basic site you'll find that coding by hand gives you ultimate control over how your page looks.

I looked through your page and there are so many complex tables and lots of javascript. It's going to be difficult for you to troubleshoot exactly why IE isn't displaying the page correctly.

I have tried at least half a dozen wysiwyg HTML editor from the major players in this space, but I always end up coding it by hand. Sometimes the tools are good for a prototype and to work on the basic flow, but they can insert a lot of stuff you don't want and they can keep you from adding the stuff you need. A good programming editor that highlightand auto-indents is probably the best tool here.

It's like getting out of program mode on your camera... now you are in control and you are free to excersize your creativity.
07/16/2004 11:33:10 AM · #17
I would suggest writing your code by hand in an html editor, like coffee cup html editor. I rarely use programs like GoLive or Dreamweaver, their errors are harder to figure out and correct than if you are coding by hand. Most editors are downright simple, shouldnt be too hard to use :)

Good Luck!
Dana
07/16/2004 09:51:34 PM · #18
I do a ton of HTML and JavaScript coding for my job, and I TOTALLY agree that doing it by hand will give you much more stable results than using a tool like GoLive or FrontPage. I *only* use tools like that for rapid prototyping and to play with the look and feel of a page, but when it comes down to actually creating the production version it's back to typing it all in a text editor.

Check out these resources:

//www.w3.org/TR/html4/ - HTML 4.01 Specification
//www.dickbaldwin.com/tocjscript1.htm - JavaScript Tutorials
//www.devguru.com/ - DevGuru, A fantastic reference for JavaScript, XML, HTML, XHTML, ASP, etc.

Message edited by author 2004-07-16 21:54:41.
07/17/2004 02:32:21 AM · #19
Originally posted by GeneralE:

Originally posted by soup:

to fill in the subject of an email - one thats same each time the link is clicked.

Email Me

I've heard that you should not include such "Mailto" links as that's one way spammers can harvest valid addresses. The safest way is to include the email as part of a graphic -- the if person can't type in your email then maybe you don't want to hear from them ....


If you're using a mailto subject, put ":email@email.com?subject=text%here" %20 inserts a space and keeps mail programs from reading only the first word. =)
Pages:  
Current Server Time: 09/23/2025 11:16:12 PM

Please log in or register to post to the forums.


Home - Challenges - Community - League - Photos - Cameras - Lenses - Learn - Help - Terms of Use - Privacy - Top ^
DPChallenge, and website content and design, Copyright © 2001-2025 Challenging Technologies, LLC.
All digital photo copyrights belong to the photographers and may not be used without permission.
Current Server Time: 09/23/2025 11:16:12 PM EDT.