Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 loginlogouttoggle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

joeljp1
Starting Member

11 Posts

Posted - April 23 2006 :  07:39:30  Show Profile  Reply with Quote
Hi, please help me out, I'm stumped on how to create this hyperlink within the shoppage_header.htm . What I've done is I have created a special class in the shop.css to try and make all the links the same colour. I can do this with any <a href> tags but can't figure out how to do it with the %loginlogouttoggle%.

The bits I've added to my shop.css

"a.special:link
{
color: #FF33CC;
}
a.special:visited
{
color: #FF33CC;
}
a.special:active
{
color: #FF33CC;
}
a.special:hover
{
color: #FF33CC;
}"

And the bits I want to change in shoppage_header.html is:

<td align="center" nowrap><a class="special" href="shopcustadmin.asp<%

addSession%>"><%=getLang("langHeadMyAccount")%></a></td>
<td align="center">|</td>
<td align="center"><%loginlogouttoggle%>
<td align="center">|</td>
<td align="center"><a class="special" href="<%getconfig("xmysite")%"
>shopaddtocart.asp<%addSession%>"><%=getLang("langcommoncheckout")%>

Many thanks in advance!

Jeffrey

nwright77
VP-CART New User

Luxembourg
89 Posts

Posted - April 23 2006 :  07:49:09  Show Profile  Reply with Quote
you just want to change the admin block? find the table which contains the information, then assign the 'special' class to the td which contains the toggle.

e.g.

<td align="center" class="special"><%loginlogouttoggle%></td>

or if you want to add to the whole table, apply it to the table

e.g.

<table width="100%" border="0" cellspacing="0" cellpadding="5" class="special">

it should work then
Go to Top of Page

joeljp1
Starting Member

11 Posts

Posted - April 25 2006 :  04:55:28  Show Profile  Reply with Quote
Hi nwright77,

Many thanks for your assistance. I tried your first suggestion with the insert into the TD section but it's made no difference. The second option doesn't seem to go either.

Is there anything I could try?

Kind regards,
Jeffrey


Go to Top of Page

nwright77
VP-CART New User

Luxembourg
89 Posts

Posted - April 25 2006 :  05:09:17  Show Profile  Reply with Quote
Hi there,

this is what I have in my shop.css and it works no problem

table.login a:link {
color: #444;
text-decoration: none;
font-size: 10px;
font-weight: bold
}

table.login a:visited {
color: #444;
text-decoration: none;
font-size: 10px;
font-weight: bold
}

table.login a:hover {
color: #900;
text-decoration: none;
font-size: 10px;
font-weight: bold
}

in your case simply change the login with your special. try it this way.

I have labelled the table class as login
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00