close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

having trouble setting the initial zoom

Thread began 10/09/2011 10:51 pm by JBWebWorks | Last modified 12/06/2011 10:43 am by JBWebWorks | 1575 views | 10 replies

JBWebWorks

I spoke too soon; i am now having the same problem. Not sure if it is the zoom setting, my DB structure or my recordset.

here is my page
store-locator.php

I have 2 recordsets from the same table. 1 supplies the map, the other populates a repeat region with the store listings.

the map recordset-
mysql_select_db($database_connsecret, $connsecret);
$query_rs_storelocation = "SELECT store_locator.store_name, store_locator.store_address, store_locator.store_city, store_locator.store_state, store_locator.store_zip, store_locator.store_phone, store_locator.store_active FROM store_locator WHERE store_locator.store_active = 'yes'";
$rs_storelocation = mysql_query($query_rs_storelocation, $connsecret) or die(mysql_error());
$row_rs_storelocation = mysql_fetch_assoc($rs_storelocation);
$totalRows_rs_storelocation = mysql_num_rows($rs_storelocation);

the repeat region store listings recordset-
mysql_select_db($database_connsecret, $connsecret);
$query_rs_stores = "SELECT store_locator.store_name, store_locator.store_link, store_locator.store_address, store_locator.store_city, store_locator.store_state, store_locator.store_zip, store_locator.store_phone, store_locator.store_active FROM store_locator WHERE store_locator.store_active = 'yes' ORDER BY store_locator.store_state, store_locator.store_city, store_locator.store_name";
$query_limit_rs_stores = sprintf("%s LIMIT %d, %d", $query_rs_stores, $startRow_rs_stores, $maxRows_rs_stores);
$rs_stores = mysql_query($query_limit_rs_stores, $connsecret) or die(mysql_error());
$row_rs_stores = mysql_fetch_assoc($rs_stores);

I am in the process of loading more store information into the db and i started having the problem today.
Page takes a long time to load and then the zoom jumps back and forth a few times and many of the locations are not shown on the map. Not consistant that i can see.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...