buttons off the page

I need someone to log in to this website (I'm not worried about the data or anything else, it's test data).

Site: langsystems.net
login: sales
password: lsi

 If you click on "Exclusives" on the "index.php", when the data comes up and you scroll down on the addresses, the address turns blue.  I did this by hiding a button off the left side of the screen.  When you click on an address, it takes you to the detail for that space.

Now go back to the index page and change the url on the top of the browser to "http://langsystems.net/walk.php".  This is a test page that I'm working on.  

What I would like to do is something like on the "Exclusive" page,  When you scroll over the tenant name on the left, it will turn blue and when you click on it it will take you to the detail tenant screen.

Here is the question.  Since the "walk.php" displays both sides of the street, I can hide the button on the left like I did on the "Exclusive" page, but how do I replicate the same thing on the right side of the page?
breeze351Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GaryCommented:
Don't know what you are on about with buttons.
Why not just wrap the tenant name in a normal anchor tag and use the :hover class to turn it blue when you hover over it.
You seem to be making things very complicated for what should be just a simple anchor tag.
0
rkeith2412Commented:
If you use the anchor tag like GaryC mentions then use CSS to disable the underline if you like and use an OnClick event to mimic the the action you are using the button for.
0
rkeith2412Commented:
Or better yet, add the onClick event to the entire cell in the table.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

breeze351Author Commented:
Has anyone looked at my post and follow what I said?

I didn't understand what GaryC was talking about.  The buttons are off the left side and therefore are hidden.

Look, I enough about css, php and html to get me in trouble.  I'm more on the data side.

If you look at the "Exclusive.php" and then "walk.php" you can see what I'm trying do.
0
GaryCommented:
You have some text that you want to turn blue when you hover and when you click it you want to go to that tenants detail pages.
This is what an anchor tag (hyperlink) is for.
Why are you creating a radio button, that is liked to the cell text via a label and then capturing when someone clicks the label using javascript to submit the page, and then on the next page you are checking the posted value to see what details to show - it does not make any sense.
All you are doing is creating problems for yourself.

You have a simple hyperlink to the page, passing the id. e.g.
<a href="Space_Display.php?id=NY10300006851100">
Address
Floor
Transaction Type
</a>
<style>
#Table2 a:hover{
text-decoration:none;
color:#0000FF
}
</style>

Then you are done with it. No radio buttons, no javascript and no fancy hover classes.
And it doesn't matter what you're layout is it will always work.
0
breeze351Author Commented:
I got the original code from a question I posted to EE:

                       //Invisable Select button                                    
                  echo '<td class="Body_Labels">';
                  echo '<label>';
                  echo '<input name = "Radio" type="radio" id = \'Radio';
                  echo '\' onclick=\'this.form.submit()\'';
                  echo ' value = \'';
                  echo $ROW['SEQ'];
                  echo $ROW['STOREKEY'];
                  echo '\'';

I asked if this was a bit much but was assured that this was the only way to it.  It does work!

As far as your solution goes.  
1)  I should add the following to the css:

#Add_Select a:hover
  {
     text-decoration:none;
     color:#0000FF;
     margin-bottom: 0px;
     text-align:left
  }

2) Modify the code to read as:
   <php
                        $work = "$ROW[ADDRESS]";
                  $work = trim($work);

                  echo '<style="Add_Select">';
                        echo '<a href="Space_Display.php?id=NY10300006851100>';
                  echo "$work";
   ?>

Do I have this correct?

Glenn
0
GaryCommented:
Who told you that?

I would add an ID to the parent TABLE and then change your css from
#Add_Select a:hover
to
#My_Table_ID a:hover {...}

Remove
echo '<style="Add_Select">';

and don't forget to close your anchor tag </a>
0
breeze351Author Commented:
Gary

I change the page to read:

<table id = "Left" style="width:17em;height:17em;border: solid #000;">
                         <tr>
                      <td bgcolor="#ccffff"; style="text-align:left;">
                          Deli<br />
                        Fred's Hot Dogs
                    </td>

                              <td bgcolor="#ccffff"; style="text-align:left;">
                                    111th
                    </td>
                        </tr>

And then change the css file to read:

#My_Table_Left a:hover {
     text-decoration:none;
     color:#0000FF;
     margin-bottom: 0px;
     text-align:left
      }

Where does the "<a>" go, in the code or the css?

Glenn
0
GaryCommented:
The table id is Left but you use My_Table_Left  in the css so change the TABLE ID to My_Table_Left

Your link text should be like this
<td bgcolor="#ccffff"; style="text-align:left;">
                          <a href="Space_Display.php?id=">Deli<br />
                        Fred's Hot Dogs</a>
                    </td>

You need to add into the href the property id
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
breeze351Author Commented:
Thanks for the help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.