Member Avatar

Hi,i've designed a website. It seems okay on my laptop screen. But when i try to open it on the larger screen or on the smaller screen,the width of my website does not longer fit the screen's width. Why is this happen?do i need to always use "%" for the width instead of "px"? thanks for helping :)

Member Avatar
0
64
Member Avatar

does anyone know how to do the program that are more or less like peteranswers?? This is the website which has been using to trick people... [URL="http://www.peteranswers.com/"]http://www.peteranswers.com/[/URL] and this is the secret : [URL="http://chriswondra.com/2007/02/21/peter-answers-the-secret/"]http://chriswondra.com/2007/02/21/peter-answers-the-secret/[/URL] i'm just wondering if i'm capable to do just a simple program that is similar like this? and how to do this if i could? thank you 4 answering...

Member Avatar
0
21
Member Avatar

I have this XML data which basically to add/minus/multiply the two numbers. And I have this Xquery function that suppose to convert this XML data into a readable string format. For example, let say XML file has in this form : <expr> <add> <number>2</number> <number>3</number> </add> </expr> <expr> <divide> <number>7</number> <times> <number>1</number> <number>6</number> </times> </divide> </expr> the Xquery function will be able to convert this into "2 + 3" and 7 / (1 * 6) respectively through the local:convertExpr function Below is the sample of the Xquery that I am working right now : **Xquery File :** declare function local:convertExpr($expr) …

0
4
Member Avatar

Hi all.. I just done a website using HTML,CSS and PHP. For now,my website is only fine to be displayed in Mozilla and IE.. For IE(Internet Explorer), I just fix the css by doing another CSS layout for that. like this one : [CODE] <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="css/ie7.css" /> <! [endif] --> [/CODE] But I dont know how do i do that for Google chrome? and i until now,i still have no idea to fix the css for IE by not doing the [B]<--[if IE 7]>[/B] statement..Could you guys tell me how to really code the css …

Member Avatar
0
39
Member Avatar

Hi there, I have the xml file (HSBB_voice_20120925_0000000182.cdr.bc_lerr.xml) that contains data between tags that i want to extract. The sample data from the xml file that i have etracted is like below : ----------------------------------------------------------------------------------- <record record_no = "62" error_code="100">D20|000000063|56604960 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579536|1348579538|3|0|IDD|Flat Rate <record record_no = "63" error_code="100">D20|000000064|7A257C4E 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579572|1348579620|48|0|IDD|Flat Rate <record record_no = "64" error_code="100">D20|000000065|5661A576 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579556|1348579559|3|0|IDD|Flat Rate --------------------------------------------------------------------------------- but from those data i extracted, i wanted to create the outpurt like : --------------------------------------------------------------------------------- record no: 62, error code: 100, D20|000000063|56604960 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579536|1348579538|3|0|IDD|Flat Rate record no: 63, error code: 100, D20|000000064|7A257C4E 071411E2 BC9D24B6 FDB63DEA|6088342010|0166662635|DEFAULT|1348579572|1348579620|48|0|IDD|Flat Rate record …

Member Avatar
0
11
Member Avatar

Hi, let say that i have this excel file that contains column of account number and the name of the customer. And I want to extract any of the data that have duplicate. And the script should be able to get the duplicate only if the both of the account number and the name of the person have been duplicated. If let say only acocunt number is duplicated, then it is not considered duplicate. Please refer the screenshot below : ![duplicate](/attachments/large/2/duplicate.png "duplicate") So, how suppose i do this? thanks.

Member Avatar
0
3
Member Avatar

Im reading a code for enhancement right now, but have little bit problem in understanding this portion of code in a file : my $dateAndtime = `date`; $dateAndtime =~ tr// /; print "Start : ".$dateAndtime."\n"; As far as i know the "tr" code is for deleting or replacing something in a string..but what actually it does here? help please,, thanks :)

Member Avatar
0
3
Member Avatar

Hi.. I'm having a problem of redirect my website to use another style sheets for ie and chrome. This is the way i've done for ie detection : [CODE] <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="css/ie8.css" /> <! [endif] --> [/CODE] and this is the way i've done for chrome detection : [CODE] <script type="text/javascript"> if (navigator.userAgent.toLowerCase().match('chrome') document.write('<link rel="stylesheet" type="text/css" href="css/stylechr.css">'); </script> [/CODE] but the problem is none of these are working,and i'm in trouble now of fixing the stylesheet for these two browser. please help,i really dont know what else to do. Thank You :)

Member Avatar
0
13
Member Avatar

Hello,, I am not sure if this whether is this a correct page to post my question.Sorry if i am wrong. Anyways, I am trying to use this 7zip software which i have made a batch script and integrate the script with it. I tried to make all the files that i want being zipped after i run the script. And below is the code : @echo off FOR /F "delims=*" %%D IN (excel.txt) DO ( echo "%%D" C:\Users\rizal.yusoff\Desktop\RAS\7-ZipPortable\App\7-Zip\7z.exe u -tzip "%%D".zip "%%D" && del "%%D" -y ) PAUSE and the file of excel.txt contains this directory : C:\Users\rizal.yusoff\Desktop\test C:\Users\rizal.yusoff\Desktop\test2 …

Member Avatar
0
5
Member Avatar

HI there, I am doing my internship with accenture and i got my first assignment. Basically i first thing with this task is i need to find way to modify the query so that it will pull only the data that has existed/activated more than one hour. This is the complete query : select account_no, unixts_to_date(created_t), poid_id0, state_flag from ( SELECT a.account_no, m.poid_id0, m.state_flag, c.created_t, row_number() OVER (PARTITION BY c.account_obj_id0 ORDER BY c.created_t DESC) rnk FROM pone_bt_prod_inst_t m, pone_act_inst_t c, account_t a WHERE m.state_flag IN ('0', '4', '5', '6', '7') AND a.poid_id0 = m.account_obj_id0 AND c.prod_inst_id_id0 = m.poid_id0 AND m.service_type …

Member Avatar
0
4
Member Avatar

hi there, I got a software hacking questions which I guess the files were written in C# ..Each of the files will pop out a dialog box which will ask us to enter a string or something..if the string we entered is correct, then the status will be changed into Corecct!..But i really have no idea on how to get the right one.. So, could u guys help me?giving me a hint or something or the way how i could solve this? U could download all the files from here : ryzalyusoff.coml/Reverse Engineering.zip thank you in advanced :) www.ryzalyusoff.coml/Reverse Engineering.zip

Member Avatar
0
17
Member Avatar

Hi, i am working on this project that using wordpress cms platform.. I am really frustrated right now to find way to remove the default avatar of wordpress site that being set up to user during registration process. As u know, when we are registering to a site which working on the wordpress platform, the website will automatically chose for us any of the default avatar. The problem is that the avatar is not good in look, which could be either a monster picture or any other that i dont know what they are. So, i want to remove them …

Member Avatar
0
2
Member Avatar

I am confused right now, and there will be test about ajax tommorrow.. And i bumped into this getXMLHTTP() function in one of the code that my professor gave me and i not sure what it does exactly.I mean because i also see in the other code, that people are using getXMLHttpRequest() in their ajax code and this make me more confused. I have tried finding it on the net but theres no one yet given explanation on this. So i hope someone could give me explanation on this. By the way, below this is the example of code that …

Member Avatar
0
5
Member Avatar

HI,..i've been working on this simple project that i need to submit it tomorrow. I really in rushing a little bit. But while i working on this oop project, my program give the strange little fatal error about my query which is this [B]Fatal error: Call to a member function query() on a non-object in C:\xampp\htdocs\listnote\index.php on line 25[/B] I really sure that i wrote everything down correctly already, so that i really dont understand why did this error appear :( Below here are the code : This is my database class which i name it [B]db.php[/B] [CODE] ?php //my …

Member Avatar
0
27
Member Avatar

hello.. i am making this website for my client...and now i am having trouble when he said that the website layout appear to be messy a little bit in his computer. He is using mac book to view it while i am using just the normal windows pc. The problem is that the website is totally looking fine on my computer even using the safari web browser. But somehow on his computer, the website header module looks not being placed on the right position. This is the WEBSITE that i am talking about : [URL="http://www.ladykashandkrissy.com/index.php"]http://www.ladykashandkrissy.com/index.php[/URL] Could you guys take a …

Member Avatar
0
2
Member Avatar

Hi all.. i want to design a structure for a large user base application..and i am using the codeigniter framework.. I wondering here, how could then i separate the data/files from the user such as the pictures, videos and so on from the application files. If i am not mistaken, each of the unique user need to have their own folder with the unique id right?so thus how could i tell the system to automatically adding the new folder for the user whenever a new person registered? And additionally, for the starting point, i am thinking of doing just a …

Member Avatar
0
2
Member Avatar

Hi.. I am in the middle of my project but i get stuck here. I want to make the friends linking process page.Which is upon registration, new user will be redirected to this page to find their friends that have registered on my site. I try to google it, but i just cannot get the right keyword to find it. This is the example from facebook that I took : [ATTACH]21220[/ATTACH] that is what i am trying to make..please help.. thank you :)

Member Avatar
0
6
Member Avatar

Hi all.. I am using 13floor wordpress theme for my website ([URL="http://www.ryzalyusoff.com"]www.ryzalyusoff.com[/URL]) But my problem is that I cannot make the blog page. I already set the front page to be static and blog page to dispay the posts by going to Settings > Reading on my wordpress dashboard. But however, it doesnt work no matter what I do.I think it has something to deal with this theme where the conflict occurred between this 13floor theme and wordpress setting. Anyone could help me out? please3....

Member Avatar
0
2
Member Avatar

hi guys.. I got a work need to be done which being asked by one of my client. My prolem is that he want to make a video sharing site like Youtube but with the certain features. What did he want is that, any user will be only allowed to upload at most 3 video.If the user want to upload more than 3 video than he/she need to become the premium member which he/she need to pay for that. So, i ever come across the free script like phpmotion and vshare, but could I change them to meet the desire …

Member Avatar
1
2
Member Avatar

Hi all.. I am working on a website which require me to handle the image uploading and retrieval. This website is some kind like an image gallery. Straight to the point, i am having trouble in retrieving the last image to be displayed on my view.Clearly to be said, i capable of retrieving the first image from my image directory file, but when i want to retrieve the last image, my code fails to works. This is the code of my controller : [CODE] <?php class Gallery extends CI_Controller{ function index(){ $this->load->model('Gallery_model'); if($this->input->post('upload')){ $this->Gallery_model->do_upload(); } $data['images'] = $this->Gallery_model->get_images(); $this->load->view('gallery',$data); } …

Member Avatar
0
5
Member Avatar

Hi all.. I got a problem here on how to handle the form submission. The problem is like this.I got two part of the form which i want to get the data from the user for the events that he/she want to promote. [B](1)[/B]The first part is that I want the user of my website to be able to upload the picture regarding of his/her specific event. [B](2)[/B]The other part is the user could submit the details about that particular events. Thus, basically my sample coding in html and php will go like this : This part is for handling …

Member Avatar
0
9
Member Avatar

hi..I am wanted to use the anchor() tag which is one of the url helper in codeigniter for the div. [B] Below is the code which i want to convert into the codeigniter form :[/B] [CODE] <a href="events/page/<?php echo $id; ?>"> <div class="title_row" id="<?php echo $id; ?>"> <div class="content" > <div class="data"> </div> </div><!--content ends here--> <input type="hidden" value="<?php echo $id; ?>" class="datahtml"/> </div><!--title row ends here--> </a> [/CODE] the question again is how could i change the normal [B]<a href="">[/B] into the codeigniter anchor() form? please help, my search on google returns no results :( Thank You :)

Member Avatar
0
7
Member Avatar

Hi all. I got some problem here. I made a website using codeigniter framework. And on my website there is the list of events that are happening at my university.. Whenever a person click on the events title bar, a slide panel like Twitter will shows up next to that particular event title.. The problem now is that, The slide panel is sometimes shows up, and sometimes did not. I dont know whats the problem and really hope that you guys could help me out. This is my website : [URL="http://www.inuevents.com"]www.inuevents.com[/URL] [B]this is the ajax code in case you need …

0
1
Member Avatar

hi i'm working on codeigniter for now.and i got some problem with the user login system. basically user can login using his/her email address, and then the login system will retrieve the user corresponding "username" base on the email address entered.This username will then be stored as session and will going to be used for all of the user's activities on the site. So, for login system, after the user has entered the details of his own, the validate_credentials() function will be called : [CODE] function validate_credentials() { $this->load->model('membership_model'); $query = $this->membership_model->validate(); if($query) // if the user's credentials validated... { …

Member Avatar
0
14
Member Avatar

Hi guys..i am just dealing with codeigniter framework.. Could you guys tell me where exactly should i put the ajax/javascript file in the codeigniter directory? I mean could it be in the application folder or whatever, or it doesnt matter? because i want to know which is the best practice to apply. Thank you :)

Member Avatar
0
7
Member Avatar

Hi all :) I want to make the toggle button so that it will [B]display the specific hidden container[/B].. for the example let say that i got all of these list of containers : [CODE] <div class="post_header"> <div class="post_toggle">Show Post</div> </div> <div class="post_container"> <div>post content 1 goes here..</div> </div> <div class="post_header"> <div class="post_toggle">Show Post</div> </div> <div class="post_container"> <div>post content 2 goes here..</div> </div> [/CODE] and I want to use jquery to do the toggling : before,i ever use this : [CODE] <script type="text/javascript"> $(document).ready(function(){ $(".post_container").hide(); $(".post_toggle").click(function(){ $(this).toggleClass("active").next().slideToggle("fast"); return false; //Prevent the browser jump to the link anchor }); }); </script> …

Member Avatar
0
2
Member Avatar

Hi all :) I basically want to use the .append() data to append the data that I got to the selected div. this is variable that i've declared [CODE] var li_template = '<div style="display:none" class="load_reply"><div class="reply_img"><img src="status/blankSilhouette.png" /></div><div class="reply_text"><a href="#" class="blue">Test Name</a><p class="tex">%s</p><div class="date">%r &middot; <a href="#" class="light_blue">Like</a> &middot; <a href="#" class="light_blue">Comment</a></div></div><div class="clear"></div></div>'; [/CODE] and below is my ajax code : [CODE] $.ajax({ type: "POST", url: "reply.php", data: $this.serialize(),//easier than building the string manually. success: function(discuss_text,date){ var data1 = $(li_template.replace('%s',discuss_text)); var data2 = $(li_template.replace('%r',date)); var combine = $add(data1,data2); $(data1+data2).prependTo($reply_text).fadeIn();//insert, then fadeIn a new li element and its contents. $this.val('');//empty the …

Member Avatar
0
6
Member Avatar

Hi, i am trying to do like what twitter did. Which is the navigation header on the top will get loaded first when the website is first opened. So i get this html code : [CODE] <div id="top_header"> <div id="header_wrapper"> <a href="index.php"><img src="images/rylogo.png" id="rylogo" /></a> <ul id="navigation"> <li id="nav_selected"><a href="index.php" title="Home">Home</a></li> <li><a href="generalwriting.php" title="Writings About Random Things">General Writings</a></li> <li><a href="skillsets.php" title="Skills That I got">Skillsets</a></li> <li><a href="portfolio.php" title="My Portfolio/Projects">Portfolio</a></li> <li><a href="contact.php" title="Contact Me">Contact</a></li> <li><a href="faves.php" title="Links Of My Favourite Pages">Faves</a></li> <li><a href="services.php" title="Hire Me / Be My Patner ">Services</a></li> <li><a href="tutorials.php" title="Check Out My Free Tutorials ">Tutorials</a></li> </ul> <ul id="social"> <li><a …

0
1
Member Avatar

Hi all.. basically i want an ajax code that retrieve the data from the unique div(with php).. what i mean by unique here is that my div got the id with the name+(the php code to make it unique). okay i dont really know how to explain but here is my ajax code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); $.ajax({ do something.... } }); return false; }); }); </script> [/CODE] and this is the html part which contain the div that i meant : [CODE] <ul id="wall"> <?php include('insert.php'); $test=mysql_query("SELECT*FROM wall …

Member Avatar
0
20
Member Avatar

Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); $.ajax({ type: "POST", url: "reply.php", data: "discuss_text="+ discuss_text, success: function(){ $("ul.reply_text").prepend("<li style='display:none' class='stbody'> <div class='stimg'></div> <div class='sttext'>"+discuss_text+ "<div class='below'> <div class='sttime'>2 seconds ago</div> <div class='like'>| like |</div> <div class='dislike'>dislike |</div> </div></div></li>"); $("ul.reply_text li:first").fadeIn(); } }); return false; }); }); </script> <form name='disscuss_text' id='post_reply' id='post_reply'> <input type="hidden" name="test5" id="test5" value="<?php echo …

Member Avatar
0
15

The End.