WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • www.TheHost.co.za - hospitality business site
  • Print
Pages: [1]   Go Down

Author Topic: www.TheHost.co.za - hospitality business site  (Read 7727 times)

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
www.TheHost.co.za - hospitality business site
« on: September 22, 2008, 02:52:31 PM »
Hallo Guys!

I am VERY proud to say... I am (almost) done with my first WB site!!!!
Please do me a favour and send comments...

I am 3 months new in PhP and MySql, so if you pick up any problems please be so kind to tell me about it and give a hand if you can! Please note that the link without the /wb,  link to their old(UGLY!) site at
www,the-host,net.....

WB ROCKS!!!! MY NEW SITE ADDRESS!!!!! -----------------> http://www.thehost.co.za/wb  :-D
« Last Edit: November 20, 2008, 10:36:49 AM by StefanRSA »
Logged
How can the sky be the limit? There is much more behind the sky!!!

aldus

  • Guest
Re: MY FIRST WB SITE!
« Reply #1 on: September 22, 2008, 03:09:07 PM »
Fine ... but there is an error in the "screen.css" in line 143:
Code: [Select]
background: #FFFFFF url(<?php echo TEMPLATE_DIR;?>/images/headcut_14-over.gif) repeat;
You can't place PHP-Code inside an external css file - will not be execute.
And you are not in the need to this: keep in mind, that all paths inside the css are rellative
to the css file, so in this case you can simple go like this:
Code: [Select]
background: #FFFFFF url(images/headcut_14-over.gif) repeat;
if there is a subfolder named "images" next to the css-file.

Regards
Aldus
Logged

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: MY FIRST WB SITE!
« Reply #2 on: September 22, 2008, 03:14:51 PM »
Fixed it, thanks Aldus!
Logged
How can the sky be the limit? There is much more behind the sky!!!

aldus

  • Guest
Re: MY FIRST WB SITE!
« Reply #3 on: September 22, 2008, 03:36:16 PM »
Fine - nothing found yet
And (!) imagefloooooooooooooooooow woup

Regards
Aldus
Logged

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: MY FIRST WB SITE!
« Reply #4 on: September 22, 2008, 03:36:52 PM »
Nicely baked.
I like it.
Very complex template.
Looks professional!

I see you love to design every single detail.  :-P

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: MY FIRST WB SITE!
« Reply #5 on: September 22, 2008, 03:43:04 PM »
Thanks Guys...

I have a problem in my menu.... Its a combination of JS and CSS conflict... Its for the active page menu color...(?submenuheader=1)
Don't have this problem if I go only CSS but I want the glide down effect of the menu...



Logged
How can the sky be the limit? There is much more behind the sky!!!

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: MY FIRST WB SITE!
« Reply #6 on: September 22, 2008, 04:03:11 PM »
Quote from: StefanRSA on September 22, 2008, 03:43:04 PM
... Its a combination of JS and CSS conflict...

Please explain the exact problem.
For me it look just fine. (FireFox 2 / Win XP)

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: MY FIRST WB SITE!
« Reply #7 on: September 22, 2008, 04:15:33 PM »
The ?submenuheader=1 and ?submenuheader=0 works with my CSS to display the active page on the menu and also if the submenu should expand or not. This is the only way I can get the SUBMENUHEADER to also have a dif color when any sumenu page is selected.

The error shows in FF and IE in the background: Error: headers[expandedindex] is undefined
Source File: http://www.thehost.co.za/wb/pages/screen-shots.php?submenuheader=1
Line: 34
« Last Edit: September 22, 2008, 04:17:21 PM by StefanRSA »
Logged
How can the sky be the limit? There is much more behind the sky!!!

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: MY FIRST WB SITE!
« Reply #8 on: September 22, 2008, 04:20:23 PM »
Now I see.
Something wrong with your JS.
Can't help - sorry.

I'm certain that sombody else will help you to fix this.

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

aldus

  • Guest
Re: MY FIRST WB SITE!
« Reply #9 on: September 22, 2008, 04:28:27 PM »
As for a quick view: missing ";"
should be
Code: [Select]
for (var i=0; i<expandedindices.length; i++){
  var expandedindex=expandedindices[i]; //index of current expanded header index within array
  headers[expandedindex].style.backgroundColor='#00B8FF';
  headers[expandedindex].style.color='white';
 }

to avoid some unexpected results you should testing the results, e.g.
Code: [Select]
for (var i=0; i<expandedindices.length; i++){
  var expandedindex=expandedindices[i]; //index of current expanded header index within array
  if (expandedindex) {
    if (headers[expandedindex]) {
      headers[expandedindex].style.backgroundColor='#00B8FF';
      headers[expandedindex].style.color='white';
     }
   }
}

sorry - untested yet ...

Regards
Aldus
« Last Edit: September 22, 2008, 04:30:54 PM by aldus »
Logged

Offline StefanRSA

  • Posts: 97
  • Gender: Male
  • Just Me... Baking...
    • THE HOST
Re: MY FIRST WB SITE!
« Reply #10 on: September 22, 2008, 06:24:34 PM »
That Solved my Problem, Thanks Aldus!

Thanks for you as well Stefek!!!
Logged
How can the sky be the limit? There is much more behind the sky!!!

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • www.TheHost.co.za - hospitality business site
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2