help with HTML coding please

  • 1
  • Question
  • Updated 9 years ago
  • Answered
please can i ahve some help, i have a website with tables as the NAV menu, its put together with 2 column layouts, can i make a code so i can just paste it to all my pages
1 code, instead of 5,
i want to replicat
http://sports-info.synthasite.com

thanks

al
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
  • Happy!

Posted 9 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
I would suggest doing a "Save Page As" under your Save button. This will replicate your pages, instead of having to keep copying and pasting.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
eh?
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
Hi Alex,

If you use the save as option you can make as many replicates without having to add the same code over and over.

1.Go into your original page

2. To the right of the save button is an arrow.

3. Click that and the option "Save page as" will be seen. Select this.

4. Type a name such as "master page"

5. Deselect "Show in navigation"

6. Click OK.

You can then open "Master Page" and tailor it to your new page requirement then again use the "Save as" function to give it the name of your wanted new page.

"MasterPage" will stay in the menu slections and you can simply do the same thing whenever you want a new page with the same features.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Good idea with the Save As! That comes in very handy!
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
its a brilliant idea but what about my existing pages?
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
This won't affect any existing pages only pages that you are yet to create.
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes
There's nothing that will automatically allow changes to existing pages Alex.

Have a look at what you have done and ask yourself whether it's worth deleting the old pages and replacing them by using this option or leaving them and possibly copying code from your original and pasting into the other pages.

Does that help?
Photo of Peter

Peter

  • 2569 Posts
  • 113 Reply Likes


Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
no i mean, what can i do with my existing
pages?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Your existing pages will not be altered Alex. It's like making another copy of your page but with a new name. Everything will be the same until you start tweaking it again to your liking.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
but is there a way to make 5 codes into 1 with all the individual codes next to each other?
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
alex i told you to use save as days ago - sometimes you dont listen :)
you can make it all into 1 code (although this will ultimatly make it harder to edit)
publish the site >
highlight the part of the page you want >
right click >
view selection source >
then you have the complete code instaed of individual widget codes ---

but you need to know what your looking at when reading the html..

your best plan is to use save as - then change the code on each page - you will only need to do it for the main pages maybe 4- 8 times depending on the amount of nav pages you have.

Lee.
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
sorry, somtimes i dont fully read posts or replys!

i will try the save as, thing, i have made my finishing touches to my nav menu, not to be edited again!

its online at
http://sports-info.synthasite.com

do you likewhat ive done with the tables and the hover text codes you gace me?

alex
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
its going well, - i would recommend spending a few days just learning what the code your using means, try w3 as a start,

I would also recommend making just the nav, forget about the page content, get the nav exactly how you want it (and i mean EXACTLY how you wwant it) do it re do it then do it again - when your happy with it make the extra pages (with save as) which are in the main nav bar - now you have your basic template you can add anything you like to any page

lee
Photo of Alex

Alex

  • 3448 Posts
  • 39 Reply Likes
well i have the NAV BAR just how i lke it, but i have 1 more page to add but i havent made it yet so i will use the save as later,
im glad you liked the NAV BAR, i spent about 2 hours on it today!

alex