Everything posted by MikeP
-
Call Certain Content
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
-
Inlcude Files & Show active page?
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.
-
Inlcude Files & Show active page?
Are there any issues in using php rather than html? I always thought search engines penalised php files. Thanks.
-
Inlcude Files & Show active page?
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.
-
Inlcude Files & Show active page?
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.
-
Inlcude Files & Show active page?
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>
-
Inlcude Files & Show active page?
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...
-
Inlcude Files & Show active page?
OK so the menu works, but the class isn't... It's not showing the current class on the active page... Any ideas? Thanks.
-
Inlcude Files & Show active page?
Great, thanks very much. Can that "<?php $thisPage="Contact us"; ?>" be put in a .html file or does it have to be .php? Thanks.
-
Inlcude Files & Show active page?
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.
-
Inlcude Files & Show active page?
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.
-
Inlcude Files & Show active page?
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.
-
Which CMS for Portfolio?
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!
-
Need to move two groups next to each other
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?
-
Need to move two groups next to each other
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.
-
Need to move two groups next to each other
I thought that bit was to do with the bit underneath :s I'll change it now then...
-
Need to move two groups next to each other
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
-
Need to move two groups next to each other
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.
-
Experience with styling phpBB? I need help :(
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!
-
Feedback & Suggestions Welcome!
It was a template. I have made loads of changes to the actual look of the site from what it originally was.
-
Feedback & Suggestions Welcome!
How do you mean by Generic?
-
Feedback & Suggestions Welcome!
I've made some further changes to the website so I'm looking for further feedback if anyone can? Greatly appreciated! My Site
-
Wordpress Tutorial Theme?
Anyone?
-
Wordpress Tutorial Theme?
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!
-
Feedback & Suggestions Welcome!
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.