PDA

View Full Version : Anchor tags or position help


rico1931
12-17-2008, 06:37 PM
Holiday greetings!

The question at hand is when content is being displayed from a record set in the main content area it is being displayed via sequence number. Meaning 1 is going to be rendered first then 2 and so on in order down a line in the main content area.

my problem is this. I have a picture that is displayed in the main content with a sequence number of 5 so its the 5th item displayed inline with the other content. What I want to do now is in the LeftNav have that same picture display but inline to other txt with the sequence number of 5. Currently the picture is displayed in the left Nav but then the next content that has Sequence number of 5 is just displayed after and not inline/next to the picture. Is there any way to do this with a anchor tag or something so I can make All content with the same sequence number display next to each other? or is this just not possible

if you need me to display my current code just ask or if you need further explanation.

Thank you
-X

rico1931
12-17-2008, 08:16 PM
maybe if I post a picture of what I want to do... the attachment shows a table.. do you see where on the left side there are sequence numbers 010,020,030.. all these are related to the content/text on the right. I want to be able to move content from one side to the other in the same sequence code.

Ok in easier terms I want that picture to be next to the top white code of 010...so i want all the 010 to display on the same line and so on

edbr
12-18-2008, 12:26 AM
code would help

rico1931
12-18-2008, 02:22 PM
Thanks edbr,

Here it is


<table border="0" cellpadding="1" cellspacing="1">
<tr> </tr>
<%While ((Repeat1__numRows <> 0) AND (NOT rsFacts.EOF)) %>
<tr>
<td><span class="<%=(rsFacts.Fields.Item("FACT_ElmID").Value)%>">
<%=(rsFacts.Fields.Item("FACT_SEQ").Value)%></span>
</td>

<td><div id="<%=(rsFacts.Fields.Item("FACT_LOC").Value)%>">
<span class="<%=(rsFacts.Fields.Item("FACT_ElmID").Value)%>">
<%=(rsFacts.Fields.Item("FACT_Content").Value)%></span>
<img src="..\site\<%=(rsFacts.Fields.Item("FACT_Content").Value)%>"
class="<%=(rsFacts.Fields.Item("FACT_ElmID").Value)%>" />
</div>
</td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsFacts.MoveNext()
Wend
%>
</table>
The record sets contain the information for the div, img, span class, etc... All I want is to be able to have information from one table cell to be able to be put into another table cell... I tried anchor's but they don't work... I just want to pretty much match sequence number to sequence number.

-X