Advertisement

01.30.2007 at 02:43PM PST, ID: 22142852
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Template expressions and parameters

Asked by Lobstrosity in Macromedia Dreamweaver

Hello,
I am trying to create previous / next buttons on my site using template parameters.

For instance:
In the <head> section I have the parameters set as:

<!-- TemplateParam name="book_name" type="text" value="gunslinger" -->
<!-- TemplateParam name="book_num" type="number" value="1" -->

And in the correct location within the <body> of the template page,  I have the expressions entered as:

<a href="@@(book_name + (book_num + 1) + '.htm')@@">NEXT</a>
<a href="@@(book_name + (book_num - 1) + '.htm')@@">PREV</a>

So, on the page gunslinger001.htm the NEXT link shows as:

<a href="gunslinger2.htm">NEXT</a>

The problem is that the resulting <a href> points to a non-existant file because in the addition process it changed from gunslinger001.htm to gunslinger2.htm instead of gunslinger002.htm.

What I need is a way to get the resulting <a href> to include the placeholding 0's.

I am not a programmer (in fact it has taken me many hours to even get this far), but I would think it would be possible to add 'if' statements so that 'if' the parameter book_num is less than 10, it includes two 0's. Likewise, if the book_num parameter value is greater than 9 and less than 100, it would include one 0.  Just an idea.

Does anyone have any solutions or ideas?

Thanks!Start Free Trial
[+][-]01.30.2007 at 06:51PM PST, ID: 18433228

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.30.2007 at 07:26PM PST, ID: 18433393

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.30.2007 at 07:33PM PST, ID: 18433418

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2007 at 02:52PM PST, ID: 18440545

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2007 at 04:28PM PST, ID: 18440985

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.31.2007 at 05:21PM PST, ID: 18441195

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.31.2007 at 10:11PM PST, ID: 18442317

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 09:21AM PST, ID: 18445855

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 06:55PM PST, ID: 18449881

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 07:12PM PST, ID: 18449943

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 07:15PM PST, ID: 18449954

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 07:26PM PST, ID: 18449991

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 07:49PM PST, ID: 18450073

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.01.2007 at 08:29PM PST, ID: 18450206

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2007 at 06:11PM PST, ID: 18473034

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Macromedia Dreamweaver
Sign Up Now!
Solution Provided By: DarthMod
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-42