Script URL: http://www.jonmac.nl/guestbook.html
Version of script: 1.7
Hosting company: one.com
Write your message below:
I upgraded from 1.6 to 1.7. I have pretty much got the guestbook to look like it did in 1.6 except - in 1.6 I had my background as fixed. In 1.7 the background seems fixed for the whole page but when I scroll the messages, the background of that part is not fixed (it scrolls with the messages). I can't seem to find where to fix this. John, Netherlands
GBook Modifications
Re: GBook Modifications
Hallo John,
In the style.css file in your template folder, try changing to
If no background is assigned to the page in the iframe, it will be transparant and show the background of the page which contains the iframe.
Greetings,
Henrie
In the style.css file in your template folder, try changing
Code: Select all
body{margin:0; padding:0; background-image:url(images/tarten2.jpg); background-attachment: fixed; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#003399;}
Code: Select all
body{margin:0; padding:0; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#003399;}
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 7
- Joined: Fri Nov 30, 2007 8:45 am
Re: GBook Modifications
Thank you Henrie for your time.Henrie wrote:Hallo John,
In the style.css file in your template folder, try changingtoCode: Select all
body{margin:0; padding:0; background-image:url(images/tarten2.jpg); background-attachment: fixed; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#003399;}
If no background is assigned to the page in the iframe, it will be transparant and show the background of the page which contains the iframe.Code: Select all
body{margin:0; padding:0; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; color:#003399;}
I tried as you suggested (you can see the result) and I looked at the iframe file (no experience with java script) and could not see anything that seemed to be assigned to the page.
groetjes, John
Re: GBook Modifications
Hallo John,
As you can see the background of the page is fixed now.
Only in the commentboxes there is still a background assigned. To also have this transparent you have to change the style.css file in your templates folder again.
Find: and change it to
Groeten,
Henrie
As you can see the background of the page is fixed now.
Only in the commentboxes there is still a background assigned. To also have this transparent you have to change the style.css file in your templates folder again.
Find:
Code: Select all
.gbook_commentbox{width:96%; height:auto; background-image:url(images/tarten2.jpg); background-attachment: fixed; margin:0 auto; border:solid 1px #CCCCCC; display: table; margin-bottom:20px;}
Code: Select all
..gbook_commentbox{width:96%; height:auto; margin:0 auto; border:solid 1px #CCCCCC; display: table; margin-bottom:20px;}
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 7
- Joined: Fri Nov 30, 2007 8:45 am
Re: GBook Modifications
Henrie,
If this keeps on I will have to buy you a case of drinks
Again, did as you suggested (I only used one "." at the beginning of the code)
The guestbook is working now exactly as I had it with 1.6 ONLY - is it possible to have the white background transparent?
thanks, John
If this keeps on I will have to buy you a case of drinks

Again, did as you suggested (I only used one "." at the beginning of the code)
The guestbook is working now exactly as I had it with 1.6 ONLY - is it possible to have the white background transparent?
thanks, John
Re: GBook Modifications
Hallo John,
Every browser shows the tarten2.jpg background, only Internet Explorer is not playing nicely.
Try changing the following code in your guestbook.html file to
Groeten,
Henrie
Every browser shows the tarten2.jpg background, only Internet Explorer is not playing nicely.
Try changing the following code in your guestbook.html file
Code: Select all
<iframe id="myframe" src="GBook/gbook.php" marginwidth="1" marginheight="2" style="overflow: visible; width: 98%; display: none;" name="guestbook" frameborder="0" scrolling="no"></iframe>
Code: Select all
<iframe id="myframe" src="GBook/gbook.php" marginwidth="1" marginheight="2" style="overflow: visible; width: 98%; display: none;" name="guestbook" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 7
- Joined: Fri Nov 30, 2007 8:45 am
Re: GBook Modifications
Hartelijke bedankt voor al je hulp Henrie - Thank you very much for all your help Henrie - much appreciated.
John
Netherlands
John
Netherlands
Re: GBook Modifications
No problem, I am glad I could help.
Henrie
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.