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.

MikeP

Members
  • Joined

  • Last visited

Everything posted by MikeP

  1. MikeP posted a topic in Frontend
    Hey Guys, I'm building a website right now but I'm a bit stuck. I have a drop down selector at the top and I want the currency on the website to change per the visitors selection at the top. So if they choose USD, the currency throughout the site/page changes to content provided for USD etc, if that makes sense? Any help would be appreciated. Thanks, Mike
  2. I'm just concerned about the extension, not so much the code. I know that any kind of coding is done in html unless variables are passed in php etc. Obviously apart from ASP etc. Just really trying to make my site stand out to the search engines so just checking, double and triple checking before I lock on something.
  3. Are there any issues in using php rather than html? I always thought search engines penalised php files. Thanks.
  4. I'm just worried about SEO and page speed is all. For some reason recently, I've got very interested in page speed and SEO etc so... Thanks.
  5. Looks good but then requires extra code and CSS, which I'm trying to cut down on haha. Which would you say is best? HTML version or PHP version? Right now, I'm spoofing php and .html's with the .htaccess, don't see why people say it's bad... Thanks.
  6. The following works a treat; <div id="menu"> <ul> <li><a href="index1.html" <?php if ($thisPage=="home") echo " class=\"current\""; ?>>Home</a></li> <li><a href="cloud-shared-hosting.html" <?php if ($thisPage=="shared") echo " class=\"current\""; ?>>Cloud Shared</a></li> <li><a href="cloud-reseller-hosting.html" <?php if ($thisPage=="reseller") echo " class=\"current\""; ?>>Cloud Reseller</a></li> <li><a href="cloud-virtual-private-servers.html" <?php if ($thisPage=="vps") echo " class=\"current\""; ?>>Cloud VPS</a></li> <li><a href="dedicated-servers.html" <?php if ($thisPage=="dedicated") echo " class=\"current\""; ?>>Dedicated</a></li> <li><a href="about-us.html" <?php if ($thisPage=="about") echo " class=\"current\""; ?>>About Us</a></li> <li style="margin-right:0;"><a href="contact-us.html" <?php if ($thisPage=="contact") echo " class=\"current\""; ?>>Contact Us</a></li> </ul> </div>
  7. As you can see here, direct for the pages source; <div id="menu"> <ul> <li><a href="index1.html">Home</a></li> <li id="current"><a href="cloud-shared-hosting.html">Cloud Shared</a></li> <li><a href="cloud-reseller-hosting.html">Cloud Reseller</a></li> <li><a href="cloud-virtual-private-servers.html">Cloud VPS</a></li> <li><a href="dedicated-servers.html">Dedicated</a></li> <li><a href="about-us.html">About Us</a></li> <li style="margin-right:0;"><a href="contact-us.html">Contact Us</a></li> </ul> </div> So it's showing to pick up the current class, it just isn't...
  8. OK so the menu works, but the class isn't... It's not showing the current class on the active page... Any ideas? Thanks.
  9. Great, thanks very much. Can that "<?php $thisPage="Contact us"; ?>" be put in a .html file or does it have to be .php? Thanks.
  10. That's helpful so far, but what logic? haha I'm not sure of the code as to how I'd accomplish such a thing... Thanks.
  11. The main file is .html and coded in html, the include file would be whatever it needs to be... So the code above would be put in the include file and then the include file would be included in the place of the code in the main page. If that makes sense.
  12. Hello, I'm really struggling to figure something out and I'd greatly appreciate it if someone can help me. I'm wanting to include the following code so that the menu stays the same consistently across all pages; <div id="menu"> <ul> <li><a href="index1.html" class="current">Home</a></li> <li><a href="cloud-shared-hosting.html">Cloud Shared</a></li> <li><a href="cloud-reseller-hosting.html">Cloud Reseller</a></li> <li><a href="cloud-virtual-private-servers.html">Cloud VPS</a></li> <li><a href="dedicated-servers.html">Dedicated</a></li> <li><a href="about-us.html">About Us</a></li> <li style="margin-right:0;"><a href="contact-us.html">Contact Us</a></li> </ul> </div> As you can see, there is a class on the Home (index1.html) line of code. If I just put this in the include file, it would then make all pages look like they're using the Home menu with the current class. The current class just makes it bold out like seen on many websites. How can I get this class="current" to switch to the active page? I hope this makes sense... I want the include file for consistency but I also want the active page to show the current class. Thanks.
  13. I don't have enough experience to build my own website/portfolio so I'm stuck to using a CMS. Can anyone recommend a CMS for this use, preferably free, and a theme to go with it? Thanks in advance!
  14. OK, I've managed to get them next to each other using a parent table with two cells. I've given the code for you to see. <table width="100%" cellpadding="5" cellspacing="0"> <tr> <td><table width="100%" cellpadding="5" cellspacing="0"> <tr> <td><div class="cltitle"> </div></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </td> <td> <table width="100%" cellpadding="5" cellspacing="0"> <tr> <td><div class="cltitle"> </div></td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table></td> </tr> </table> Right now, I need to be able to size the tables correctly and make a space between them but I'm not sure how... I need table one on the left of the page and table two on the right side of the page. The cells are currently oversized and the two different contents in table two are too far away from each other. Can anyone help?
  15. It's just how the content was provided to me. It's not my own. I can paste the code how it is if that will help anyone with how I can move them next to each other.
  16. I thought that bit was to do with the bit underneath :s I'll change it now then...
  17. Yes that is what I need to do. Can you provide any code that I could do this with? I'm a newbie with code and stuff
  18. I have two headings using the same class/style with tables underneath them but it's making the site quite long after the tables. I was wondering if there is anyway to get the two titles/tables on the same line but one of the left and one on the right? I would provide a link but it's kind of private. Thanks.
  19. I'm integrating phpBB for a client but I'm experiencing some problems with the header & footer. The footer just refuses to show up... No matter where I put it in the overall_footer.html it just won't show up. The same for the menu in the header, this also won't show up. All CSS links & image links are correct so I'm a bit confused... The Forum | The Site I'd really appreciate it if someone could help me out!
  20. It was a template. I have made loads of changes to the actual look of the site from what it originally was.
  21. How do you mean by Generic?
  22. I've made some further changes to the website so I'm looking for further feedback if anyone can? Greatly appreciated! My Site
  23. Does anyone know of a theme for wordpress that is for a tutorial like blog? I tried alltuts from Site5 but it seems to be quite hard to configure... Thanks in advance!
  24. Ah, I know what you mean now. When you hover over and it goes black, the text drops? That's with the effect and I wouldn't know where to start editing that... Thanks.

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.