midnitesun
Members-
Content Count
182 -
Joined
-
Last visited
Everything posted by midnitesun
-
What Kind Of Script Do You Need ? post here and get free script
midnitesun replied to farsiscript's topic in Programming
i assume you want it in php ? if so i can provide you with one which is fully validated and tested for security like sql injection but i'll need to add email verification to it yea in my code you just have to include an external file to all pages you want to restrict but you need not change much or any of your code , just include the file and thats all -
How To Hide And Show A Div On Clicking
midnitesun replied to midnitesun's topic in General Discussion
yea thanks mike , made some changes and put a demo link too <body onload="hide('xx')"><script language="JavaScript" type="text/javascript">function hide(obj){document.getElementById(obj).style.visibility="hidden";}function show(obj){document.getElementById(obj).style.visibility="visible";}</script><div id="ss" align="center"><a href="gg" class="main" onclick="hide('ss');show('xx');return false;">change div</a><p>this is the div displayed when page loads</div><div id="xx" align="center"><a href="gg" class="main" onclick="hide('xx');show('ss');return false;">show previous div</a><p>now this div is shown because you clicked on the link</div> demo -
so here is a simple tutorial of a code i wrote today and thought it may prove useful to someone out here too what it does is show a div when the page loads and then when user clicks on a link the div is hidden another div is shown ,you can do a lot based on this code <body onload="hide('xx')"><script language="JavaScript" type="text/javascript">function hide(obj){document.getElementById(obj).style.visibility="hidden";}function show(obj){document.getElementById(obj).style.visibility="visible";}</script><a href="gg" class="main" onclick="hide('ss');show('xx');return false;">change div</a><div id="ss" align="center">this is the div displayed when page loads</div><div id="xx" align="center">now this div is shown because you clicked on the link</div>
-
Advantages Of Using Tableless Designs For Web Pages
midnitesun replied to midnitesun's topic in Web Hosting Support
you can hide the table and its contents without even using div tags <table style="display:none" border="1" width="100%" id="table1" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr></table> same can be applied to tr and td tags too , pretty useful when you dont need a particular peice of for the time being but will need later, so you dont have to go through your code again just when you need it simply remove display:none -
Incrementing Mysql Integer int comes out as string?
midnitesun replied to elrohir's topic in Programming
now i am really confused , from where is $row coming ? you have given $row1 as the mysql fetch array so the code should i believe be $row1['logins'] instead of $row['logins'] , it seems you are trying to display all logins as an array , so if i am correct you can use while $row1 = mysql_fetch_array($result1) {$new = $row1['logins'];echo $new;} also try avoiding numbers in your code, it can be confusing both for you and your code -
if you dont understand the question then i dont understand why you replied to it and also no need to be rude as i cant see any horrible run on anything
-
Advantages Of Using Tableless Designs For Web Pages
midnitesun replied to midnitesun's topic in Web Hosting Support
well i believe saint-michael had been making tutorials on how to design in css, which i am sure will be indeed very good for you to start with . yea it is always hard to leave somthing we are familiar and jump onto unfamiliar territory , but it's not going to be more difficult, infact it is more easy ... i should have been more comprehensive on my original post -
Advantages Of Using Tableless Designs For Web Pages
midnitesun replied to midnitesun's topic in Web Hosting Support
am i missing a point here ??i totally agree it will take ages for browsers to stop supporting tables ... not only because 90% of the current web sites may be using it , but we cant deny the fact that the tables that were never intended for layout purposes (tables are for data - layout grids are an abuse of the mark-up, an abuse that we?ve come to live with and accept a bit land now it ceems we cant live wthout it too) wont be used in webpage designing in the near future and its not just big sites like hotmail that have switched to pure css , but you would see that many have resorted to css if not before -
Advantages Of Using Tableless Designs For Web Pages
midnitesun posted a topic in Web Hosting Support
since tables are deprecated and not intended to be used for website layouts and future browsers may not support tables i thought of listing a few advantages of using tableless designs for web pages the first and obviously the most important reason is faster loading time ofcourse yo all will i think know the fundamental truth - tables load slowly one way to counter this problem itself becomes a bigger problem, that is to set the width and height of all your table elements , now think how many td open tags you'll be having in a average table based layout ? tons , so having to set all the values explicitly only adds to the page size and thus loading time search engine optimization the fact that you can put your most important content at the top of your page without affecting you page layout makes your page better optimized for search engines. for example lets say i have a navigation bar at the left with links that are actually great keywords too, i can move the navigation bar higher up my code wiothut having any affect on my layout because i will be using css to position my navigation bar ,that way search enignes can more clearly find common words throughout your document without having to filter through code, search engines tend to prioritize that have higher content to code ratio , putting all your style elements into an external css stylesheet makes your site highly content based to a search engine.Tableless layouts, as previously mentioned, decrease page size and loading time - another bonus to search engines. hopefully this article may have helped in getting started on understanding why to use a tableless layout and the benifits so read as much about css as you can here and elsewhere and jumping to tableless design will be just a matter of time -
I Got To Leave Trap17 *sniff* :( I hate to go...
midnitesun replied to hotchick2121's topic in General Discussion
oh , it's sad to see you leaving , but i get it that you aren't leaving for good right ? so do come here whenever you can and i am sure i am not the only one who will miss you -
Please Give Your Comments let me know which one you like most
midnitesun replied to midnitesun's topic in Web Hosting Support
i am not sure if you viewed it correctly , body and footer should be there -
Please Give Your Comments let me know which one you like most
midnitesun replied to midnitesun's topic in Web Hosting Support
thanx saint michael but i 'd rather optimize myself using photoshop that way i can reduce the image size yet retain the quality i want but i am sure it will be useful to someone -
Please Give Your Comments let me know which one you like most
midnitesun replied to midnitesun's topic in Web Hosting Support
hey thanks saint michael those are very good suggestions you gave , infact the best anybody gave upto now i just wish you gave them yesterday right now it's fully done in photoshop but the final product will be optimised using css and as minimun images as possible , i dont want the size of the page to exceed 25 or 20k -
Please Give Your Comments let me know which one you like most
midnitesun replied to midnitesun's topic in Web Hosting Support
thank you guys for your help , i made some changes and came up with a design that is a basically a variation of the first design which almost everyone said they liked but i am still open to creative ideas and comments final design -
so i am redesigning my homepage ( since i am going to take a new domain ) , i made 3 deisgns which i like very much , so here i am breakin my head over which one to choose from , then i decided it is time to get your opinion, each design is unique in its own way even though demo-final-a and demo-final-b look very much similar the impact each one can create is very different , you may also think the page is very satatic but the middle banner with the girl will be in flash to provide dynamacy , also the grey box next to it will be displaying random videos and the menu too if the page dont get too heavy i may do in flash , so i am very much looking forward to your opinion here, let me know which design you like most link 1 demo a link 2 demo b link 3 demo c ------- edited ------- first of all let me thank you all for your kind comments , i am glad most people said they like the first design because thats the one i like too , i totally agree that the third one is looking out of place because of the blue and the second one because of the header's color proximity with the menu , i wanted to make a clean but visually appealing and professional looking design so according to the feedback i got and my own imaginations here is the final one i came up with but before i will start htmlazing it ( which i will start tonight) i am still open to your ideas and comments on the final one but now not on the others , so here's the link final design also please note that the text where the girl is will change , if you ask me the placement is looking a bit odd but since i am going to do it in flash i just put some dummy text and the icons too aren't necessarily final especially the third one.
-
lol , u can expect to be hosted even in a day, thats if you dont go around posting stuff from internet like you just did , link http://forums.xisto.com/no_longer_exists/ , sorry to mention it but i sugest you should read forum rules , anyway goodluck
-
Favicon - Icon For Website Bookmark
midnitesun replied to apurva's topic in Websites and Web Designing
so i believe you already have an image you want to use as the favicon, if you do not then make an image one with the dimensions 16/16 and its extension should be .ico instead of gif or jpeg , once you have the image upload it your server and copy and paste the following line of code in the head section of the your page <link rel="shortcut icon" href="images/favicon.ico" /> make sure you change the path correctly, thats it and you are done if you need any further help feel free to post back -
i wonder what on earth i was thinking but here is song i wrote for a friend of mine , and i am in noway a songwriter or a musician and i dont even know the rules of the game but please give me your reviews and let me know what you think about it singing to myselfwhen nobody's watchin mememories i dare only tell myselfbut is out there for you to seeshe came on a night so shytook my heart outrightnever knew it'd go this highbut then it began to shine so brightcame back the days i thought had escaped meforgotten by the heart but i let it see seemed like everything we wanted is hereand the waves they left nothing more to tearsometimes things just seem so easyat times reasons dont matter so crazystill singing to myself with nobody aroundbut it's getting much too lateforgot that the storm was risingcould have said that i never needed youwell i jumped into the river too many timeshoping to make it homeagain i'm out on my own, drifting all aloneand the waves they are getting so highseems like everynight we spent are herewhy must it drift away and dieshe left on a night so shyleft me searching for the reasonsshould have never wanted to flybut i never wanted it to drift away and dieif i make it through the river this time maybe I'll find another wayfind another daybut i'll never find another youguess I'll have to make it throughthis time oh this timeWithout youstill singing to myself without even myself aroundcame to this world alone now it dont feel so bad i left alone(so bye bye)
-
to tell honestly i dont like having numeric number in the domain, a lot of people ask me what why it is Xisto and because numbers are diicult to remember than letters a lot of people i came across find themselves not being able to remember the url too , if it is going to change it should be a unique as Xisto and should not contain any reference to hosting according to my ideas, but without numbers please
-
well i just happened to be curently working on a php shopping cart script for one of my projects, i am using mysql as database, sessions and paypal as mode of payment, the bulk of the script is finished but i have to start on the admin part of the script now, once finished i am willing to give the files to anyone interested here, you may contact me if you want
-
the name itself isn't very attractive, name itself plays a very important role in the success or failure of a product or service, i suppose a small icon or button at the bottom of your page like the pay with paypal or simply paypal button would be more attractive then having a banner or icon saying pay with google checkout, but then again they are great thinkers and good business men as they have shown again and again in this highly volatile industry, but i would have rather like some unique name like the name google itself , maybe they dont want any one forgetting it is a google service , i still laugh how google bought you tube for a billion plus , a company which was already facing enormous copyright infringements just because it was pushing google video out of business , but i am a great admirer of google too and google search engine is my best net friend who never fails me
-
Suggestion For This Site The initial posting requirement
midnitesun replied to Dez Ironer's topic in The Vent
as a hosted member i would like to add something to your post , first of all i did not find it annoying that i needed to get a minimum 10 credits to get hosted when i first came here , first i read the available services and when i am happy with it i went to the forums and took sometime to familiarise with it by reading rules and help topics and normal topics too, then i registered my self and started posting, even though anybody will want to get hosted immeadiately i can understand that everything cannot be free , we too need to contribute something in someway to the other party so they can keep you hosted ,i would say if you are here long enough for you to get hosted you wont be leaving it for another free hosting, and it wikk not take long enough for you to get hosted too as long as you follow the rules and not try to spam your way through -
War Makes Sense ...in a very cruel way...
midnitesun replied to brainless's topic in Science and Technology
war makes sense when it is not my cousin, my brother or my parents who are getting killed everyday, it makes sense when it is not me who have to stay up on a roof top whole night armed with a AK-47 to protect my loved ones from meeting the same fate as did my neighbor the other night met, it makes sense when i am happy it was my neighbor who got hit last and not me. the list is endless but it certainly makes no sense when humans like us suffer everyday because of a few psychotic minds who happened to be given too much power than their brains can handle. -
How I Was Born? Dads answer to sons question :-)
midnitesun replied to OpaQue's topic in General Discussion
LOL , dat was really funny , i like the part about there been no firewall between them