473,659 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Further questions about my site

I was wondering if anyone could point me in the direction for information to
solve the following problems with my site (under development).

The URL is
http://thesouthbeachhostel.com/php-t...p=reservations. This
contents in this folder are not active yet. This is my first professional
site so I want everything to be as perfect as possible.

1) On the form there is a label "Check-in Date:" -- I want the small
calendar icon to line up with the text field. I can't get it to line up
perfectly.

2) Also, I want to make a JavaScript calendar pop up when the user clicks on
the calendar icon, which then transfers a date into the form. I don't know
JavaScript so I was wondering if anyone knew of a good free (or very cheap)
script that would do that function well. Is it difficult to learn to code
something like that? I like what Travelocity.com does on their homepage but
that might be too ambitious...

3) How do I make a secure connection with the server to transmit the credit
card numbers?

4) There is a "?" icon next the the text area for "type of accommodation."
How do I get a small popup to open when they click on that. I want to
provide information on what the different options in the select box mean.

Thanks in advance for any advice or resources anyone can provide.
Jul 23 '05 #1
14 1485
Where to start...

"Josh" <jo*****@hotmai l.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I was wondering if anyone could point me in the direction for information to solve the following problems with my site (under development).

The URL is
http://thesouthbeachhostel.com/php-t...p=reservations. This contents in this folder are not active yet. This is my first professional
site so I want everything to be as perfect as possible.

1) On the form there is a label "Check-in Date:" -- I want the small
calendar icon to line up with the text field. I can't get it to line up
perfectly.
Nothing appears after "Check-in Date: ".

Your source has the following line:
<script>DateInp ut('orderdate', true, 'DD-MON-YYYY')</script>
but I couldn't find that "include" file at:
http://thesouthbeachhostel.com/php-t...arDateInput.js

Note that as soon as I load the page I get two JavaScript Errors:

A Runtime Error has occurred.
Do you want to Debug?
Line: 1
Error: Expected ";"

If I click "No" then I get:

A Runtime Error has occurred.
Do you want to Debug?
Line: 165
Error: Object Expected

If I click "No" then I then the page loads.

Debugging both errors point to the same line:
DateInput('orde rdate', true, 'DD-MON-YYYY')
2) Also, I want to make a JavaScript calendar pop up when the user clicks on the calendar icon, which then transfers a date into the form. I don't know JavaScript so I was wondering if anyone knew of a good free (or very cheap) script that would do that function well. Is it difficult to learn to code
something like that? I like what Travelocity.com does on their homepage but that might be too ambitious...
I'll get back to you later...
3) How do I make a secure connection with the server to transmit the credit card numbers?
You'll need an SSL (Secure Socket Layers) ceritificate.
4) There is a "?" icon next the the text area for "type of accommodation."
How do I get a small popup to open when they click on that. I want to
provide information on what the different options in the select box mean.
Do you want your visitors to click on the "?" for the popup?

If so, then try:

<img src="images/question.gif" border="0" align="middle" alt="Click here for
more information" onclick="Popup( )" />

<javascript type="text/javascript">
function Popup() {
var pop = "Room Types: \n";
pop += "\n Small Mixed Dorm";
pop += "\n Large Mixed Dorm";
pop += "\n Female Dorm";
pop += "\n Private Room";
var win = window.open("", "Popup","")
win.document.wr ite(pop);
}
</script>
Thanks in advance for any advice or resources anyone can provide.

Jul 23 '05 #2

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:Je******** ************@co mcast.com...
Where to start...

"Josh" <jo*****@hotmai l.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I was wondering if anyone could point me in the direction for information
to
solve the following problems with my site (under development).

The URL is
http://thesouthbeachhostel.com/php-t...p=reservations. This
contents in this folder are not active yet. This is my first

professional site so I want everything to be as perfect as possible.

1) On the form there is a label "Check-in Date:" -- I want the small
calendar icon to line up with the text field. I can't get it to line up
perfectly.


Nothing appears after "Check-in Date: ".

Your source has the following line:
<script>DateInp ut('orderdate', true, 'DD-MON-YYYY')</script>
but I couldn't find that "include" file at:
http://thesouthbeachhostel.com/php-t...arDateInput.js

Note that as soon as I load the page I get two JavaScript Errors:

A Runtime Error has occurred.
Do you want to Debug?
Line: 1
Error: Expected ";"

If I click "No" then I get:

A Runtime Error has occurred.
Do you want to Debug?
Line: 165
Error: Object Expected

If I click "No" then I then the page loads.

Debugging both errors point to the same line:
DateInput('orde rdate', true, 'DD-MON-YYYY')


Sorry... I've been working on the site since I posted that message. I found
a free calendar script on www.dynamicdrive.com that I am trying to get to
work correctly. It was working fine but then it disappeared from my form.
I think the script might have some bugs in it.

3) How do I make a secure connection with the server to transmit the

credit
card numbers?


You'll need an SSL (Secure Socket Layers) ceritificate.


I'll search for that on Google...

4) There is a "?" icon next the the text area for "type of accommodation." How do I get a small popup to open when they click on that. I want to
provide information on what the different options in the select box

mean.
Do you want your visitors to click on the "?" for the popup?

If so, then try:

<img src="images/question.gif" border="0" align="middle" alt="Click here for more information" onclick="Popup( )" />

<javascript type="text/javascript">
function Popup() {
var pop = "Room Types: \n";
pop += "\n Small Mixed Dorm";
pop += "\n Large Mixed Dorm";
pop += "\n Female Dorm";
pop += "\n Private Room";
var win = window.open("", "Popup","")
win.document.wr ite(pop);
}
</script>

Thanks for that help. I will try it out...
Jul 23 '05 #3
"Josh" <jo*****@hotmai l.com> wrote in message
news:10******** *****@corp.supe rnews.com...

Here's a popular calendar:

http://www.dynarch.com/projects/calendar/#
Jul 23 '05 #4
<img src="images/question.gif" border="0" align="middle" alt="Click here for more information" onclick="Popup( )" />

<javascript type="text/javascript">
function Popup() {
var pop = "Room Types: \n";
pop += "\n Small Mixed Dorm";
pop += "\n Large Mixed Dorm";
pop += "\n Female Dorm";
pop += "\n Private Room";
var win = window.open("", "Popup","")
win.document.wr ite(pop);
}
</script>


A question: I don't know much about JavaScript. Today is my first day of
trying to use it.

Should it be <javascript type="text/javascript">, or just <script
type="text/javascript">? (the closing tag is </script>.)

I added the code but it doesn't add the new lines (\n). It's a full new
browser window. Is there anyway to resize it and remove all of the
navigation and menu bars?

Thanks
Jul 23 '05 #5
"Josh" <jo*****@hotmai l.com> wrote in message
news:10******** *****@corp.supe rnews.com...
<img src="images/question.gif" border="0" align="middle" alt="Click here

for
more information" onclick="Popup( )" />

<javascript type="text/javascript">
function Popup() {
var pop = "Room Types: \n";
pop += "\n Small Mixed Dorm";
pop += "\n Large Mixed Dorm";
pop += "\n Female Dorm";
pop += "\n Private Room";
var win = window.open("", "Popup","")
win.document.wr ite(pop);
}
</script>


A question: I don't know much about JavaScript. Today is my first day of
trying to use it.

Should it be <javascript type="text/javascript">, or just <script
type="text/javascript">? (the closing tag is </script>.)

I added the code but it doesn't add the new lines (\n). It's a full new
browser window. Is there anyway to resize it and remove all of the
navigation and menu bars?

Thanks


Try:

<javascript type="text/javascript">
function Popup() {
var pop = "Room Types: <br>";
pop += "<br>Small Mixed Dorm";
pop += "<br>Large Mixed Dorm";
pop += "<br>Female Dorm";
pop += "<br>Privat e Room";
var win = window.open("", "Popup","width= 200,height=200" )
win.document.wr ite(pop);
}
</script>
Jul 23 '05 #6
Previously in alt.html,comp.l ang.javascript, Josh <jo*****@hotmai l.com>
said:
Should it be <javascript type="text/javascript">, or just <script
type="text/javascript">? (the closing tag is </script>.)
<script type="text/javascript">. There is no <javascript> element.
I added the code but it doesn't add the new lines (\n). It's a full new
browser window. Is there anyway to resize it and remove all of the
navigation and menu bars?


Yes.

http://diveintoaccessibility.org/day...w_windows.html

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 23 '05 #7
"Mark Parnell" <we*******@clar kecomputers.com .au> wrote in message
news:qs******** *************** *******@markpar nell.com.au...
Previously in alt.html,comp.l ang.javascript, Josh <jo*****@hotmai l.com>
said:
Should it be <javascript type="text/javascript">, or just <script
type="text/javascript">? (the closing tag is </script>.)


<script type="text/javascript">. There is no <javascript> element.
I added the code but it doesn't add the new lines (\n). It's a full new browser window. Is there anyway to resize it and remove all of the
navigation and menu bars?


Yes.

http://diveintoaccessibility.org/day...w_windows.html

--
Mark Parnell
http://www.clarkecomputers.com.au


Mark's right -- my pseudo code was wrong.

Even when I first read your question about it I didn't spot the difference.

Thanks Mark.
Jul 23 '05 #8
McKirahan wrote:
Here's a popular calendar:
http://www.dynarch.com/projects/calendar/#


And here is another popular calendar:
http://tinyurl.com/6yfzh

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

Jul 23 '05 #9
"Toby Inkster" <us**********@t obyinkster.co.u k> wrote in message
news:pa******** *************** *****@tobyinkst er.co.uk...
McKirahan wrote:
Here's a popular calendar:
http://www.dynarch.com/projects/calendar/#


And here is another popular calendar:
http://tinyurl.com/6yfzh

Thanks... The Gregorian Calendar -- I think I will use that one on my site.
Jul 23 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3147
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to ensure that only one copy resides on a given news server. This notice was last updated on September 7th, 2000, and is available (with a complete revision history) on the World Wide Web at http://www.stack.nl/~boris/HTML/ciwahfaq.html. Most of it...
7
1965
by: Johnny | last post by:
June 2, 2005 Greetings, I have a whole lot of questions that all have to do with the same topic: Width. By "width" I mean how wide a particular Web page is, how wide a table is, how wide a particular cell or column is, how wide a particular font is, and so on.
3
1392
by: Mark C | last post by:
Hi I was in the progress of developing a web site whereby developers can do free online tests on various programming languages. After initial feedback I managed to fix quite a few issues and changed the look and feel. I would just like some futher comments\tips\hints or feedback The site is http://www.quiznetonline.com
22
1447
by: Scott M. | last post by:
I've asked this before, but not gotten any clear answers, so I'd figure I'd try again. I am an experienced ASP .NET 1.1 developer and I understand the differences between an ASP .NET 2.0 "Web Site" vs an ASP .NET 2.0 "Web Application" (among other things, all compiled code placed in several assembly files vs. one assembly file). Here are my 2 questions:
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7360
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2759
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.