Zen Cart Logo
Forums / General Questions / Dreamweaver or frontpage Faq Page?

Dreamweaver or frontpage Faq Page?

Locked

Views: 872

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
16 May 2008, 5:26 AM
#1
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Dreamweaver or frontpage Faq Page?

Hello, I have frontpage and dreamweaver, I am still in learning mode but doing good with it.. I cant seem to figure this one out, for a faq page or any page.... Im going to give you an example because I don't know how to explain it... Say you are looking ..."baby names" and they are all listed on the same page but its seperated that you can click letter -N- and it will bring you to the N section of the page. Hope I explained it good... Thanks!

16 May 2008, 5:56 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

Keep well away from FrontPage! It will wreck your zenshop!

Dreamweaver can be used for some functions, but you ought to be quite skilled with PHP if you use Dreamweaver.

HTML editors can be used to create SOME of the HTML code embedded in things like the "define pages" and the "EZ Pages", but you must remember that you will be copying raw HTML code FROM the html editor TO the relevant page in ZC - using the in-built wysiwyg facility in ZC (typically this is HTMLArea).

And when you copy and paste HTML code, make sure to copy elements that are INSIDE the <body> and </body> tags. Don't paste header data into a ZC page - this is already called by the PHP.

The linking function you describe is BOOKMARKS and ANCHORS.

16 May 2008, 6:17 PM
#3
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

I got it, using dreamweaver and when i do the preview in browser it works then i paste it into the website i want it on and when i press "A" it brings me to the main page?

17 May 2008, 11:39 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Dreamweaver or frontpage Faq Page?

Can you give us a link to your site?

17 May 2008, 1:56 PM
#5
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

in the IE develope tool bar A and the other letters come up as href http://website.com/#A ?

17 May 2008, 1:58 PM
#6
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

<body> <p class="style1">Baby Names</p> <p class="style3"><a href="#A">A</a> <a href="#B">B</a> <a href="#C">C</a> <a href="#B">D</a> <a href="#E">E</a> <a href="#F">F</a> <a href="#G">G</a> <a href="#H">H</a> I J K <a href="#L">L</a> <a href="#M">M</a> N O <a href="#P">P</a> Q <a href="#R">R</a> <a href="#S">S</a> <a href="#T">T</a> U V <a href="#W">W</a> X <a href="#Y">Y</a> <a href="#Z">Z</a></p> <p><strong>April</strong><a name="A" id="A"></a><br />
17 May 2008, 9:18 PM
#7
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

It looks like you need to do a bit of reading up on how bookmarks and anchors work. From your post above, it does not appear that you have hyperlinked the alphabetic characters (the bookmarks, eg: #A), to their relevant text sections.

Copy and paste this code into your dreamweaver html editor to see how it functions.

<p><a name="Top_of_Page">Top of Page</a></p>
<p><a href="#A.">A</a></p>
<p><a href="#B.">B</a></p>
<p><a href="#C.">C</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a name="A.">A.</a><br>
Aaron, Alan, Angus Arnold, </p>
<p><a href="#Top_of_Page">(Return to top)</a></p>
<p> </p>
<p><a name="B.">B.</a><br>
Barry, Bert, Brian</p>
<p><a href="#Top_of_Page">(Return to top)</a></p>
<p> </p>
<p><a name="C.">C.</a><br>
Cedric, Clive, Colin</p>

<p><a href="#Top_of_Page">(Return to top)</a></p>
18 May 2008, 2:52 AM
#8
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

pasted the same thing that you just posted in my webpage that i am trying to do, same thing happens goes to https://www.website.com/#A ect that you set, same thing is happening, its like some how linking the A to the website?

18 May 2008, 11:50 AM
#9
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

The problem is the <base href=......> tag that is auto-stripped into the header, that will prefix all hyperlink URL's.... unless you hard code the full URL.

You have to HARD CODE the full link with the page ID into the bookmark links.

Try this, (where your page ID is your ez-page ID NUMBER - in my case it's 22, and the URL is your website URL):

<p><a name="Top_of_Page">Top of Page</a></p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#A.">A</a></p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#B.">B</a></p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#C.">C</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a name="A.">A.</a><br />
Aaron, Alan, Angus Arnold, </p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#Top_of_Page">(Return to top)</a></p>
<p> </p>
<p><a name="B.">B.</a><br />
Barry, Bert, Brian</p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#Top_of_Page">(Return to top)</a></p>
<p> </p>
<p><a name="C.">C.</a><br />
Cedric, Clive, Colin</p>
<p><a href="http://www.YOURWEBSITE.COM/index.php?main_page=page&id=22/#Top_of_Page">(Return to top)</a></p>
18 May 2008, 3:56 PM
#10
ryanb4614 avatar

ryanb4614

Totally Zenned

Join Date:
Feb 2008
Posts:
556
Plugin Contributions:
0

Re: Dreamweaver or frontpage Faq Page?

awsome got it, thank you for your time !!