[ Total Views: 647 | Total Replies: 7 | Thread Id: 73064 ] |
|
amazeer
A.k.a.: Surly Duff
Bishop of Volkswagenism
    
Posts: 3029
Threads: 387
Registered: November 14th, 2005
Member Is Offline
Location: Wollongong
Theme: UltimaBB Pro Blue ( Default )
Mood: bitter
|
posted on November 23rd, 2008 at 09:51 PM |
|
|
web page help needed
my dear wife volunteered me to create a web page for the shellharbour markets. Apparently its easy, even 11 yr old Emily can do it.
It isnt too bad I guess when there is so much open source stuff available on the web. However, I'm having a touch of bother combining it all
together.
I want to use includes directive so that I can create a template. Thats OK on its own. Allso wanted a rotating image. Which is OK on its own. However,
the includes means the file has to be saved as .shtml and the revolving image has to be saved as a php file. So how do I get them both to work at
once?
http://www.wscc.org.au/markets/index.php
http://www.wscc.org.au/markets/index.shtml
dont tell the car club I am using their webspace as my dev environment. The zipped files are here though if you want to run it on your own space you
will need to edit the config.php
I dont actually like the rotating image, because each time it loads the page bounces back to the top. I think I will go for a single random image, but
will still have the same php v shtml problem.
 
|
|
eraser
Fahrvergnugen
  
Posts: 970
Threads: 128
Registered: March 11th, 2005
Member Is Offline
Location: Adelaide
Theme: UltimaBB Pro Powder
|
posted on November 24th, 2008 at 06:14 AM |
|
|
Easiest way is to junk the shtml and use PHP includes .
or html etc.
Any problems chuck me a PM and we can take a gander.
|
|
eraser
Fahrvergnugen
  
Posts: 970
Threads: 128
Registered: March 11th, 2005
Member Is Offline
Location: Adelaide
Theme: UltimaBB Pro Powder
|
posted on November 24th, 2008 at 06:20 AM |
|
|
And you could do the rotating image via javascript to stop the page from reloading each time.
|
|
amazeer
A.k.a.: Surly Duff
Bishop of Volkswagenism
    
Posts: 3029
Threads: 387
Registered: November 14th, 2005
Member Is Offline
Location: Wollongong
Theme: UltimaBB Pro Blue ( Default )
Mood: bitter
|
posted on November 24th, 2008 at 07:09 PM |
|
|
thanks guys, legendary.
I've now done it with Javascript and it works flawlessly. And the php include too. http://www.wscc.org.au/markets/index.php
Love this "VW" forum
|
|
greedy51
Wolfsburg Wizard
 
Posts: 668
Threads: 149
Registered: September 6th, 2002
Member Is Offline
Location: camden
Theme: UltimaBB Pro Blue ( Default )
Mood: morphene moody
|
posted on November 25th, 2008 at 04:04 AM |
|
|
shit this sites group know it all impressed
Pimp my Hide
|
|
amazeer
A.k.a.: Surly Duff
Bishop of Volkswagenism
    
Posts: 3029
Threads: 387
Registered: November 14th, 2005
Member Is Offline
Location: Wollongong
Theme: UltimaBB Pro Blue ( Default )
Mood: bitter
|
posted on November 25th, 2008 at 08:53 PM |
|
|
@$%&! *&#!
OK, now putting the email form in.
The code behind it al works fine. The appearance is pissing me off, namely textarea for the message body. I have 2 issues.
1. The textarea width. It doesnt matter how many columns I put in, its always the same width if the table is in a php page. in a plain html page, the
text area grows and shrinks as asked. Same problem in firefox and IE. WHY!?!?!?!
2. The wrapping. Doesnt matter what I do in firefox, it wont wrap at all. It just goes off on one long ong line, both in php and html forms. On IE
this doesnt happen,
Any ideas how to fix?
|
|
eraser
Fahrvergnugen
  
Posts: 970
Threads: 128
Registered: March 11th, 2005
Member Is Offline
Location: Adelaide
Theme: UltimaBB Pro Powder
|
posted on November 25th, 2008 at 09:10 PM |
|
|
text area put in the code
wrapping in what part?
|
|
amazeer
A.k.a.: Surly Duff
Bishop of Volkswagenism
    
Posts: 3029
Threads: 387
Registered: November 14th, 2005
Member Is Offline
Location: Wollongong
Theme: UltimaBB Pro Blue ( Default )
Mood: bitter
|
posted on November 25th, 2008 at 09:30 PM |
|
|
assume that my square brackets are angle brackets...
[td]
[textarea name="Query" rows="10" cols="50" wrap ="virtual"][/textarea]
[/td]
in Firefox the text in the query box just runs off to the right as in the 1st image. It does wrap to the next line in IE though. 2nd image. Doesnt
matter what I put in wrap attribute, or if I leave it out.
And I cant resize the width of the box. It is always this width no matter how many columns its set to.

|
|