Jump to content

Applellial

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Everything posted by Applellial

  1. Hi All! I have a web application with an aspanel, users can add images, the program automatically make the thumbnail. when user click on thumbnail they can see a pop up modal page. Images are in different sizes, so what I need to achieve is to get the screen resolution or browser visible area and re-size the image according to this resolution. (users could have different type of computer screen with different resolution), I need a Javascript or jquery code. Thanks in advance
  2. Hi, I was told that I can upload files by using a ajax effect. I mean using a hidden iframe. the problem is I don't fully understand what they are doing and what is happening behind the scenes. They say to make your form target your iframe. the form will post to the iframe. The iframe will be blank it won't have a url etc. So I am cluless as to what is actually happening. How will you be able to submit the data if your posting them to an iframe that is blank??? I want to know the whole concept.
  3. - Currently i developing system using VB and MS SQL DB - Now,i want convert my VB system into PHP.So i want convert my MS SQL DB into MySQL - Anyone here can give me the tutorial how to convert that DB??
  4. Hello! I have two tables, sites and directory. The first table (sites) has the following related fields: id, active (BOOL), name, userID. The directory table has the following related fields: id, userID, siteID. The feature I'm creating will allow users to select one of their active sites that is not already in the directory from a dropdown, and add it to the directory. So the SQL statement must select rows from the sites table that have id's that do NOT match a row with the same siteID in the directory[ table. The selected sites must also match a single user ID, where both tables have a userID field (as shown above). How would I go about doing this? Thanks
  5. Hi, I want to generate a JPG image and may b with some submit button want to upload the generated Image into a server. I do know how to generate an image in PHP, but how to upload the same directly to server -Regards
  6. Ok, what I'm doing here is driving traffic to my site via advertising but I need to avoid increasing my bounce rate, so I want to send the traffic to a page with the script to spoof the referrer so that it shows up in my analytics as if it came from another page on my site, and then send them on to the page I want them to land on. The reason being that high bounce rates have a negative effect on ranking, and traffic from advertising is always going to have a higher bounce rate than organic search traffic. Can someone point me in the right direction?
  7. Im wondering if SQL / PHP is the right way to go about doing this. I have a database of users in MySQL and my PhP login script is working ok , but, I would like each user to be redirected to there own page after login. Is it possible to extract a the string from say "webpage" field in my database and then redirect the user to a url using that string? If its possible what commands should I be looking at from a tutorial point of view. Im a noob at this but its a lot of fun, a point in the right direction would be great. Thanks
  8. Hello, I run a fairly large & popular community based website but currently cannot afford to pay someone to update my import scripts (php/mysql), which import data from affiliates to populate a table in our database. Problem is the partners/affiliates are sometimes changing their schema, which they have done recently. I'm therefore currently inserting the data manually, but its taking a good 5 minutes a row, and there are thousands of rows ahead of me. I'm therefore wondering if there is available software that allows you to import data by simply matching fields in a csv file to the database fields? Some rows would need to be new, some rows would need just a few fields updating. Is there software that can do this? It would need to fuzzy match a 'Name' field for each row etc. There are some linked tables but I could bypass those for now. I realise i could be clutching at straws here but any info would be appreciated. Many thanks!
  9. I'm not exactly sure how to do this with CSS, and I'm having trouble googling about it too because I'm not sure what it's called. What I want to do is have a line going across my div separating different elements of text. Basically, what I am going for is exactly how the DIC comments section is set up on your profile page. Is this a special element or do they use an image? I'd really like to do it without an image, is this possible? Thanks for the help!
  10. I'm designing a browser game. When a user right clicks an object in my game I would like to be able to have a menu come up. Is it possible to override the right click event only for the canvas and still allow normal right click functions outside of the canvas? Thanks
  11. I am relatively new to GUI programming and when I have multiple buttons in the same class I usually use if statements using getSource() in order to see what button is referencing the action listener and then delegate specifics on what to do. Is there a way I can set individual action listeners to each button or is the most efficient way to use getSource
  12. Hello! Can someone show me how to do a user input for arrays. I need a program that the user would input 20 double numbers and then average them. I need help with creating the user input statement in the code. If someone can show me an example it would be great. Thank you!!
  13. I'm trying to put two divs side by side. I want the div on the right to take up as much room as it needs (php echos code for an image in this div, so the width needs to be variable for images of different widths) and the one on the left to take up whatever room is left. I can't get it to work without setting the width of the left div in advance, though. Is what I'm asking possible?
  14. How would i factor out a quadratic equation so that this happened using javascript? ax^2+bx+c i want to factor this to (qx + n)(gx + v) where q n g and v are named at random I know how to get the zeros or solutions, but I want to find the factored form itself. Any ideas? Thanks
  15. Hello all, I was wondering how to do this: Enter values into and submit a form on site B from site A (using Javascript) Load the resulting url into the current site (site A) (using Javascript) I have no idea if this is possible with Javascript, but any help would be much appreciated. If it is not possible with Javascript, what language would I need to do it in? Thanks in advance!
  16. I am working on an page where I have a video playing in a div, using jwplayer. I have a form in another div below the player div that appears by changing the display:none property at a certain time, but this requires my users to scroll down to see it below the video div. I would prefer this form div to appear and the video div to disappear simultaneously, which is simple enough, but I need the audio from the video div to continue playing uninterrupted, then the divs would switch back after a period of time. I guess another option would be to have the form div appear and float over the video div, but I'm not sure how to do that. Any nifty suggestions?
  17. hi, I'm making a website, in portuguese, and i'm trying to retrieve characters with accent signals such as é ê á etc. while when I directly type words with such characters directly in my HTML, it displays correctly (i'm using utf-, if i save the same words into a mysql DB, and echo them out with php, they will appear with missing characters, you know, the "?" inside a square. im clueless. any help is appreciated. thanks in advance
  18. I want a Login Box to be opened in modal window when user clicks on a link and authentication is done with Ajax. I tried jQuery BlockUI, jQuery UI, ThickBox. But they are large in scope. I also tried writing separate plugin for my need but i don't have clear idea how does it work. So please either suggest a way or give me link to article which is simple to understand and can clear how it work.
  19. Hi guys, I'm trying to add a php string to some javascript: document.getElementById("button").value = mygetrequest.responseText; basically there are a load of buttons on one page. So i need to add a value at the end of button. Basically the ID of each row so button<? echo $row['ID']; ?> but i'm not too sure how i would do this in javascript. Any help Thanks in advance
  20. I have done some searching and digging, but it seems everyone has their own ways of doing things, some more effective than others. I have a web design portfolio website, which uses a "coinslider" flash slideshow. It looks awesome in FF, but IE6/etc users cant view it properly. How can I create a PHP if/then to detect if they are using a sub-par browser, and display a more simple slideshow? That way it will work for all users, and those with Firefox and similar browsers can view the more interesting slideshow. Thanks.
  21. I have the following PHP script to update two time/date fields in the database. When i run this the fields are not updated. Can anyone see where i m going wrong. <?php $con = mysql_connect("localhost","dbname","dbpassword"); if (!$con) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_select_db("my_db", $con); mysql_query("UPDATE msm_content SET created = '2011-01-02 00:00:00', modified = '2011-01-01 00:00:00'"); echo 'Query Updated successfully'; mysql_close($con); ?> Your guidance is much appreciated.
  22. hello, i want to get into a particular page if the user stays more than lets say 20 minutes to automatically load another php page. More specific i have a page which is a test. The user answears to some multiple choice questions. i want him to have only a particular time to anwear. Lets say after 20 min i want to load the results page. Any ideas?
  23. Hello, I want to export data from php-mysql to excel in a particular cell. 1. Get the data from php-Mysql and export data to excel sheet. I already create a template excel sheet format.I want to export data from mysql to a particular cell. Sorry I can't able to attach my template excel sheet. 2. Is it possible to export image? Thanks in advance
  24. Hi, I have a textbox placed inside a scroll pane which I need to scroll horizontally once the end of the box is reached and only go on a new line when I tell it to The scroll pane works fine vertically, adding a scroll bar once the bottom of the box has been reached but i cant get it to add the horizontal one. It just automatically puts the text onto a new line was it reaches the edge of the text box. Why wont it automatically scroll horizontal?
  25. I wish to create an applett, which i am working on, Though I want to know if there is any way to: 1) Take screenshots of entire web page 2) Take screenshots of a certian part of the web page selected by the user with a Rectangle tool 3) Take screenshots of a certian part of the web page selected by the user with a FreeForm tool Im not asking for a full code or anything, But I just wish to know in what way could i go about this?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.