Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
CSS and PHP

 
Post new topic   Reply to topic    dna88 Forum Index -> Web design and solution Discussion Forum
Author Message
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: CSS and PHP Reply with quote

hi quan and others,

i actually needed to see how you write the CSS codes, w3school.com
was a great help on this. they had all parts of CSS example as practice. it was easy to learn from there. but i didn't copy them and keep them. so forgot. now i need some help to find out every part of CSS and learn how to write them up.

can you guys help me out on that.

i also need some help on php script,
how do you write it and what are the codes.

i actually need to see the practice examples to understand better.

any link for it that you know.

bye now.

oh! one more thing, how do you make a pop-up ads window appear as you open a window or go to a site, what's the code for making a pop-up window ads.


thanks.
bye payel.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Tue May 24, 05 11:21 am
Back to top
payel3 View user's profile Send private message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Dear Payel,

Please look at the following site for CSS coding help.

[http://www.cs.tut.fi/~jkorpela/styles/howto.html]
[http://www.w3schools.com/css/css_howto.asp]

In order to learn PHP code try following site:

www.hudzilla.org

It has top to bottom guide and very easy with practical examples. If you get through will al these let me know I will put some links for advance learning.

For popup window you need to use javascript. Check the following site to learn how to do that-
[http://www.javascript-coder.com/window-popup/javascript-popup-window.phtml]
[http://www.yourhtmlsource.com/javascript/popupwindows.html]

I believe these links will help u to solve your problems.

-Dinangkur
_________________
...we too are stardust...
Thu May 26, 05 6:03 am
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

dinangkur wrote:
Dear Payel,

Please look at the following site for CSS coding help.

[http://www.cs.tut.fi/~jkorpela/styles/howto.html]
[http://www.w3schools.com/css/css_howto.asp]

In order to learn PHP code try following site:

www.hudzilla.org

It has top to bottom guide and very easy with practical examples. If you get through will al these let me know I will put some links for advance learning.

For popup window you need to use javascript. Check the following site to learn how to do that-
[http://www.javascript-coder.com/window-popup/javascript-popup-window.phtml]
[http://www.yourhtmlsource.com/javascript/popupwindows.html]

I believe these links will help u to solve your problems.

-Dinangkur


how should i start to say thank you DK bro.

where did you get that w3school pages, i went in there, and found that site like amajon jungle, i recognize it not. thank you so much.

i will check each of those sites and save them. thank you really.

after visiting and going through them, i sure will have much to ask.

thanks DK. take care.

wish you luck, with all the hot.

payel.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Thu May 26, 05 11:09 am
Back to top
payel3 View user's profile Send private message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Dear Payel,

You're welcome. If you need further help, let us know. I've a great project in my mind, if you're interested let me know. One thing you must remember there is no money in it and that is totally free of cost and something I'm trying to do for BD people.

My mail dkundu(at)gmail(dot)com

-Dinangkur
_________________
...we too are stardust...
Fri May 27, 05 10:22 pm
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

dinangkur wrote:
Dear Payel,

You're welcome. If you need further help, let us know. I've a great project in my mind, if you're interested let me know. One thing you must remember there is no money in it and that is totally free of cost and something I'm trying to do for BD people.

My mail dkundu(at)gmail(dot)com

-Dinangkur


dddeer Dk,
hope you are ok.

that CSS is fun, i mean it. Really. i like it. i use too much time on that. can't stop till finish all the tags excercise once. couldn't get the php book yet but will soon and window pop-tags yet either. my disk ran out spaces that's why.

of curse i am interested on that. don't need money, i would love to do free work or so. what's the project. you can send me the info through mail.

i have to go to a physics teacher to get some booklat for regent exams.
take care.

talked too much.

hey DK,
can you send me an invitition or so, that you guys are talking about in a post in general forum, so i can get a mailbox there???

thanks a lot.

what happened to quan, too busy i guess.
have fun.
i heared rashshahi is great place, a story i read in 4th grade about that place is about cholon bil, i still talk about it at home and want to visit it.
did you go there and see that? how does it look?

take care.

bye payel
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Tue May 31, 05 11:04 am
Back to top
payel3 View user's profile Send private message
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

hey DK,

java script is fun too.
it seems, everything is intersting, my mother will hit me on the head if she hears it. and my sisters propably will laugh it at.

thouhg, i would love to learn it.

those pages are GOOD.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Tue May 31, 05 11:36 am
Back to top
payel3 View user's profile Send private message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

You're welcome. I've sent a gmail invitation your yahoo address. If you don't find the invitation in your inbox, please look into "bulk" folder.

Let me know what u want to learn. I will do my best to give you guidence. One thing you must remember a true hacker always a self learner. Now, the word "hacker" can be used in any profession not just in Computer. So, feel free to ask any question. And I know you have a hacker spirit, dig and eventualy you will learn.

-Dinangkur
_________________
...we too are stardust...
Tue May 31, 05 10:38 pm
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

dinangkur wrote:
You're welcome. I've sent a gmail invitation your yahoo address. If you don't find the invitation in your inbox, please look into "bulk" folder.

Let me know what u want to learn. I will do my best to give you guidence. One thing you must remember a true hacker always a self learner. Now, the word "hacker" can be used in any profession not just in Computer. So, feel free to ask any question. And I know you have a hacker spirit, dig and eventualy you will learn.

-Dinangkur



yes DK you are right about the spirit thing. i try my best. it is upto me to learn.

one question first, i looked through those pop codes but DK, i don't see where they have the writing that shows in the pop window,
and i don't see any links to anyfile that will appear in the window of pop-up.
so i am kind of lost. they have code to let the pop-up be fired but don't see what will that be set, the writing parts.

i am kind of lost. though, i didn't try those out. i looked through the examples and didn't see what they have in the pop-up window written in the codes, then how did it get there?

help me out.

programming, hum!!

what can you do with it? give a simple thing that you can do, just tell me. i don't know though what you can do with it.
i saw my teacher coping files from disk using it and paste those files in a disk through it. that's all.

it was as copy a: and copy a: *.* and something else.

tell me about these.

take care now. bye payel.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Wed Jun 01, 05 6:58 am
Back to top
payel3 View user's profile Send private message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Let me give you a simple example how to do that. Please, go through each line and I believe u will understand. In order to do more complex thing you need to learn javascript. You can find plenty tutorials on java on the net.

Code:
<!-- THREE STEPS TO INSTALL AUTO POPUP WINDOW:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Rick Johnson (frj11@ev1.net) -->
<!-- Web Site:  http://rickjohnson.tripod.com -->
<!--Modified by: Dinangkur Kundu (dkundu@gmail.com) -->
<!--Website: http://www.quantumcloud.com -->

<!-- Begin of the script
function popupWin() {
text =  "<html>\n<head>\n<title>Pop Window</title>\n<body>\n";
text += "<center>\n<br>";
text += "<a href='http://www.quantumcloud.com' target='_blank'><h2>New JavaScripts</h2></a>";
text += "</center>\n</body>\n</html>\n";
setTimeout('windowProp(text)', 4000);       // delay 4 seconds before opening
}
function windowProp(text) {
newWindow = window.open('','newWin','width=400,height=200');
newWindow.document.write(text);
setTimeout('closeWin(newWindow)', 4000);   // delay 5 seconds before closing
}
function closeWin(newWindow) {
newWindow.close();            // close small window and depart
}
//  End of the script -->
</script>

</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<BODY onLoad="popupWin()">

<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

<center>
This demo will open a small popup window 3 seconds after the page is loaded and close the window

after it has been open for 5 seconds. But if you've installed pop-up blocker, then it will disable this

script, as a result you will not see any pop-up window. So, before testing this piece of code, please

trun-off your popup blocker.<br><br>
Easy way to test this code is copy this code and paste it in a text file (e.g. test.txt). Save the file

and close it. Now rename "test.txt" to "test.html". Operating System will ask if you want to change

the file type, press "yes". Now, double-click the file and wait 4 sec to see the pop-up window.
</center>
</body>


This code is self explanatory. Copying files from one disk to another disk is quite easy, I don't know if you are asking about it. The copy style you stated in your reply is the way to do in console mode of windows operating system.

suppose you have a file called "sample.txt" in your floppy drive. Now you want to copy it to your computer harddisk in partition C:.

Following is the command:

A:\> copy sample.txt C: [press enter]

If you want to copy all the contents of the floppy drive then following:

A:\> copy *.* C: [press enter]

I hope this will help.

-Dinangkur
_________________
...we too are stardust...
Wed Jun 01, 05 9:58 pm
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

i will reply to it later.
no time now.

thank you so much DK,
i printed it out though to read later.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Thu Jun 02, 05 11:25 am
Back to top
payel3 View user's profile Send private message
payel3
Expert User
Expert User


Joined: 24 Jul 2004
Posts: 147
Location: USA, N.Y. Brooklyn.

Post Post subject: Reply with quote

Yea, I got the script well and I did understand it. though, couldn’t practice it now. DK, could you give me all the tutorial sites for php and JavaScript (it is JavaScript right?), that pop-up making one. I forgot.
And I got the programming code as well. I just said as example that my teacher used.
Though, you gave a new one. What else can you do with it? can you tell me a little bit? How can you copy from C drive to A drive?
One more questions DK bro, how do you center the links with CSS. I used text-align: center but it doesn’t work for links, only for text. So help me out.

So take care now. I wrote too much. I hope you didn’t mind.
_________________
I know i do not know, and therefore i want to know. by: why? (translation of greece name)

Payel's Home
Sat Jun 04, 05 9:29 am
Back to top
payel3 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web design and solution Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group