Web Sticker
Web Sticker
I am trying to set up a web page using the stickers for both phones in my system. Both of them have pasted in OK and display as expected on the page. The text data is correct (or at least matches the accutracking website info) but when I click on MAP no matter which of the phones I chose the location shown is just for the one phone (called sfo1), I cannot see the location of the second phone.
Is this an inherent problem with using the stickers or can one have multiple stickers on one web page each showing the location of a different phone?
Any help greatly appreciated. I can post the html code I'm using if it helps.
Lin
Is this an inherent problem with using the stickers or can one have multiple stickers on one web page each showing the location of a different phone?
Any help greatly appreciated. I can post the html code I'm using if it helps.
Lin
web stickers
I have checked and my cache is set to automatic. It doesn't matter which phone I chose first, both maps display the same data. It is strange because the text on the sticker is correct for each phone.
LIN
LIN
-
- New member
- Posts: 1
- Joined: Thu Jul 07, 2005 4:54 pm
- Location: Ontario, California
- Contact:
Web Sticker
It works fine on your website, I can easily see both phones and their locations are different. The problem is when I take the sticker and place it on my website that both stickers show the same map; the text location info is for the appropriate phone but both maps show the same phone. Should I send you the code for that page and you can see what is happening?
Lin
Lin
Web Sticker
I have sent you an email with my code. As you can see it does not matter which map you select, you only see the location of phone sfo1. What do I have to do to the code to make it display the selected phone?
thanks
thanks
Web Sticker -- multiple on one page
The code that is generated on the site for the web sticker needs to be modified when you have more than one sticker on a web page.
The first tag in the code is MAP. The value for NAME= parameter is "AccuTracking" -- change this to a unique value in each sticker (I just appended the user's name (ie "AccuTrackingJoe").
The second tag in the code is IMG. At the end of that tag there is a USEMAP= parameter. Change its value from "AccuTracking" to the same value as you did the NAME parameter in the MAP tag.
In other words the NAME= parameter in the MAP tag and the USEMAP= parameter in the IMG tag must be set to unique values in the code for each sticker so that they do not conflict with each other.
An alternative to the Stickers that I like better is that I put a link on my site to a page that contains the following code:
Clicking on the link opens the page which then automatically submits the from to Accutracing.com/login.php and logs you into the site. I use a sub account with no admin privileges.
The first tag in the code is MAP. The value for NAME= parameter is "AccuTracking" -- change this to a unique value in each sticker (I just appended the user's name (ie "AccuTrackingJoe").
The second tag in the code is IMG. At the end of that tag there is a USEMAP= parameter. Change its value from "AccuTracking" to the same value as you did the NAME parameter in the MAP tag.
In other words the NAME= parameter in the MAP tag and the USEMAP= parameter in the IMG tag must be set to unique values in the code for each sticker so that they do not conflict with each other.
An alternative to the Stickers that I like better is that I put a link on my site to a page that contains the following code:
Code: Select all
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>AccuTracking - Adjuster Tracking</TITLE>
</HEAD>
<BODY onload="document.form1.submit();">
<form name="form1" method="post" action="http://www.accutracking.com/login.php">
<input name="user" value="YOUR LOGIN NAME" type="hidden" id="user6" size="16" maxlength="10">
<input name="pwd" type="hidden" value="YOUR PASSWORD" id="pwd2" size="16" maxlength="10">
</form>
</BODY>
</HTML>
Web Sticker
JerryAVT,
Thanks a bunch. That bit of code is exactly what I needed. Now my customers and staff can check on the actions of our drivers at their convenience and not need to bother me. I like the sub-account idea, I didn't even know that existed.
Sincerely,
Lin Farmer
Thanks a bunch. That bit of code is exactly what I needed. Now my customers and staff can check on the actions of our drivers at their convenience and not need to bother me. I like the sub-account idea, I didn't even know that existed.
Sincerely,
Lin Farmer
Web Sticker
Your welcome. I should add that on my site, I use some Javascript to make the linked page appear in a popup window -- that way my users can keep the page open in the background.