Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AndyJay

Members
  • Joined

  • Last visited

Everything posted by AndyJay

  1. Hi all... I'm trying to create a dynamic (database driven) mega menu for my site. So far i have my data structured as below, but i'm struggling to actually get this styled properly. I want to have a 4 or 5 column megamenu containing my category headers and categories below. Please help before i go nuts!!! <div id="menucats"> <div id="menucattitle"> Electrical </div> <div id="menusection"> <ul> <li id="topcat"> <span class="topcat">17th Edition Testers</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=154">17th Edition Software</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=16">Accessories</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=18">Accessories</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=9">Calibration Checkboxes</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=150">Combined & Multifunction Value Saver Kits</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=15">Combined and Multifunction</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=85">Earth Ground Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=153">Electricians Essentials Value Saver Kits</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=12">Insulation Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=11">Loop Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=152">R2 Leads, Adaptors & Accessories</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=10">RCD Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=151">Separate Instrument Test Kits</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=13">Test Kits</a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Airflow & Anemometers </span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=174">Airflow & Anemometers</a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Books & DVD's</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=174">Books & DVD's </a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Clampmeters</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=169"> AC/DC Clampmeters</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=168">AC Clampmeters</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=170">Leakage Clampmeters</a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Distance Measurement Meters</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=174">Distance Measurement Meters </a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Energy & Power Quality Meters</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=174">Energy & Power Meters </a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">PAT Testers</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=167">PAT Test Labels</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=165">PAT Test Scanners</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=166">PAT Test Software & Accessories</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=163">PAT Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=164">PAT Testing Kits</a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Safe Isolation, Electrical Testers & Proving Units</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=156">Electrical Testers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=158">Proving Units</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=159">Safe Isolation Kits</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=157">Voltage Detectors</a></span> </li> </ul> </li> <li id="topcat"> <span class="topcat">Thermography</span> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=72">Digital & Infrared Thermometers</a></span> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><span class="subcat"><a href="../results.asp?categoryID=145">Thermal Imaging Cameras</a></span> </li> </ul> </li> </ul> </div> <div id="menucattitle"> Gas </div> <ul> <li id="topcat"> Carbon Monoxide Monitors <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=53" class="topcat">Carbon Monoxide Monitors</a></li> </ul> </li> <li id="topcat"> Combustion Analysers <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=46" class="topcat">Combustion Analysers</a></li> </ul> </li> <li id="topcat"> Leakage Detectors <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=49" class="topcat">Leakage Detectors</a></li> </ul> </li> <li id="topcat"> Manometer & Pressure Meters <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=54" class="topcat">Manometer & Pressure Meters</a></li> </ul> </li> <li id="topcat"> Oil Specific Equipment <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=99" class="topcat">Oil Specific Equipment</a></li> </ul> </li> <li id="topcat"> Type K Temperature Probes <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=73" class="topcat">Type K Temperature Probes</a></li> </ul> </li> </ul> <div id="menucattitle"> Tools </div> <ul> <li id="topcat"> Gas Service Tools <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=100" class="topcat">Gas Service Tools</a></li> </ul> </li> <li id="topcat"> IDEAL Twister Connectors <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=149" class="topcat">IDEAL Twister Connectors</a></li> </ul> </li> <li id="topcat"> Pliers <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=57" class="topcat">Pliers</a></li> </ul> </li> <li id="topcat"> Screwdrivers <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=56" class="topcat">Screwdrivers</a></li> </ul> </li> <li id="topcat"> SuperRod <ul> <li id="subcat"><a href="../results.asp?categoryid=88">Cable Rod Sets</a> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><a href="../results.asp?categoryid=89">Coiled Products</a> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><a href="../results.asp?categoryid=92">Illumination</a> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><a href="../results.asp?categoryid=91">Rod Pairs & Flexible Leads</a> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><a href="../results.asp?categoryid=93">Routing Attachments</a> </li> </ul> </li> <li id="topcat"> <ul> <li id="subcat"><a href="../results.asp?categoryid=90">Super Grips</a> </li> </ul> </li> <li id="topcat"> Tool Kits <ul> <li id="subcat"><a href="../results.asp?categoryid="></a> <a href="../results.asp?categoryid=58" class="topcat">Tool Kits</a></li> </ul> </li> </ul> </div> Andy
  2. Hi all... I'm using classic asp with MS SQL Server for my e-commerce application. My results page displays products based on three possible search criteria. Keyword (text box in form), manufacturer (dropdown menu in form) and category navigation menu (url links) There are plenty of sites that use a dropdown menu on their product page, to order products by price highest, price lowest, manufacturer, etc... How is this done? Any advice appreciated. Andy
  3. Hi Jock - Thanks for your reply. I've tried to create a Dreamweaver recordset based on the method your kindly supplied and although the runs fine when testing it in DW, i get this error when i run the page. Any ideas? Thanks --error- Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC SQL Server Driver] Incorrect syntax near ','. --error- here's my code: [code] <% Response.Cookies("productViews") = Request.Cookies("productViews") & "," & productID; %> <% Dim RSRecentViews__MMColParam RSRecentViews__MMColParam = "1" If (Request.Cookies("productViews") <> "") Then RSRecentViews__MMColParam = Request.Cookies("productViews") End If %> <% Dim RSRecentViews Dim RSRecentViews_numRows Set RSRecentViews = Server.CreateObject("ADODB.Recordset") RSRecentViews.ActiveConnection = MM_shoppingcart_STRING RSRecentViews.Source = "SELECT * FROM dbo.Products WHERE ProductID = " + Replace(RSRecentViews__MMColParam, "'", "''") + "" RSRecentViews.CursorType = 0 RSRecentViews.CursorLocation = 2 RSRecentViews.LockType = 1 RSRecentViews.Open() RSRecentViews_numRows = 0 %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = 10 Repeat1__index = 0 RSRecentViews_numRows = RSRecentViews_numRows + Repeat1__numRows %> [/code]
  4. Hi all...... I'm trying to figure out how to use cookies in ASP to captcha a visitors recently viewed products. I want to take the productID from the product detail page and use this to set the cookie dictionary. Then i want to use the dictionary values (productID's) to filter a recordset. Can anyone help? Andy
  5. lol - thanks zed :~) Still searching............I'm surprised i can't find a solution!! Andy
  6. Thanks Wickham - Yeah i've tried that and the degradation is noticeable and looks jaggy. Thanks Andy
  7. Turned out this wasn't a suitable solution for me............ Any other solutions appreciated. I want to use 'one' photo at 355 x 355 px and display the same photo for the full product photo, medium thumbnail and small thumbnail without losing image qaulity.
  8. Thanks Zed - That look promising I'll test it out Andy
  9. I'm looking to use one photo for each product we have, but instead of having multiple files for each size (thumb, medium, large) i'm wondering if it's possible to use just one photo at the 'large' size and somehow have it auto-resize for the medium and thumbnail images. I'm coding in Classic ASP. Any ideas?? Thanks in advance Andy
  10. AndyJay posted a topic in Frontend
    Hi all...... I'm using a tabbed menu where the content for each tab is displayed when it's clicked. One of the tabs is for a datasheet which is in .pdf format and i'm wondering what options there are for displaying it. I've embedded the pdf which works fine apart from the typical pdf reader menu bar and page tabs. They look ugly. Is there a better way to display pdf's or a way to 'style' it? Thanks in advance Andy
  11. Hi to all.... Just joined the forum and hope to visit on a regular basis. To start myself off, i have a question regarding currencies. We currently only sell products to our own country (UK) on our e-commerce site. I'd like to offer our european visitors the ability to purchase and need a way of displaying our prices in their currency. I've seen a couple of commercial solutions, but was curious to see how everyone else approached it. How did you do it? Kind Regards Andy

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.