dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: simonstaton

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    371

    Managed to write my own script: this did the job...

    Managed to write my own script: this did the job



    <?php // instead of <?

    mysql_connect ("localhost","cpsdev_mage1","******");
    mysql_select_db ("cpsdev_mage1");

    $sql = "select value...
  2. Replies
    1
    Views
    371

    Import Text file to and from Database

    Hi Everyone,

    A bit of help needed as my MYSQL is terrible.

    I have a database that looks as follows:


    attribute id - value
    64 - 109.txt
    109 - some other data
  3. Replies
    7
    Views
    2,487

    This seems to have done the job :) thanks for the...

    This seems to have done the job :) thanks for the help
  4. Replies
    7
    Views
    2,487

    Okay that dosnt seem to work but I imagine its...

    Okay that dosnt seem to work but I imagine its where im making the divs, they now look as follows:


    <div id="addons426">

    </div>

    <div id="addons427">

    </div>
  5. Replies
    7
    Views
    2,487

    Actually just played around in the CMS, turns out...

    Actually just played around in the CMS, turns out I can add a custom ID to each but it is not 0, 1 it is 426, 425 and I cant tell which ones. I will try your codes and see how I get on
  6. Replies
    7
    Views
    2,487

    Thanks for the reply guys, and damn that is not...

    Thanks for the reply guys, and damn that is not good.

    I will explain my problem and maybe you will understand more.

    The Content Management System I use is annoying, and basicly on each product...
  7. Replies
    7
    Views
    2,487

    Get Multiple Divs Inner Html

    Hey guys,

    I have a number of divs with the same id's I wanted to know if it was possible to grab the innerhtml of each one and put them all inside another div. for example the html would look...
  8. Replies
    16
    Views
    7,367

    If anyone else can give any advice it would be...

    If anyone else can give any advice it would be much appreciated as it seems that rodion has gone offline :)
  9. Replies
    16
    Views
    7,367

    I will try explaining what I am doing to make...

    I will try explaining what I am doing to make things a bit clearer.

    When people drag an item into my application it adds it to a "checkout box" (div1)

    When they submit a form on the page the...
  10. Replies
    16
    Views
    7,367

    I see, and I am just trying to remove not...

    I see, and I am just trying to remove not replace. the data is being passed to another file so I need the div elements and image removing from the code. Will using the .remove() work?
  11. Replies
    16
    Views
    7,367

    it is this part I want to remove completly:

    it is this part I want to remove completly:
    <DIV style="FLOAT: right"><IMG src="http://www.actionclimbingframes.com/Action-3D/remove.png"></DIV>

    and also this part:
    style="WIDTH: 140px; FLOAT:...
  12. Replies
    16
    Views
    7,367

    Okay that works, now alerting the html gives the...

    Okay that works, now alerting the html gives the following:

    ---------------------------
    Message from webpage
    ---------------------------
    <DIV style="DISPLAY: none; VISIBILITY: hidden">no items...
  13. Replies
    16
    Views
    7,367

    Sorry that is a typo I made on here and isnt in...

    Sorry that is a typo I made on here and isnt in the original script. What do you mean by adding an i? My javascript is very minimal so you might have to bare with my noobiness
  14. Replies
    16
    Views
    7,367

    Okay I have tryed using standard text for example...

    Okay I have tryed using standard text for example I have this inside div1:
    <div style="float: right;">

    I have then used:
    var c = b.replace(/float"/g, ' ');

    However this still isnt removing...
  15. Replies
    16
    Views
    7,367

    Hi Rodion, Thanks for the reply, so it is the...

    Hi Rodion,

    Thanks for the reply, so it is the characters that are causing the problems? I am guessing its things like <, =, ", :, ;?

    I am not entirely sure what you mean with your solution...
  16. Replies
    16
    Views
    7,367

    Replace Function not working in IE8

    Hi,

    I am having a strange problem, I can get my code to replace html content fine in every browser apart from IE8 but I cannot figure out why. my code is:



    function enquires() {
    var a =...
  17. Thanks for the reply, will give that solution a...

    Thanks for the reply, will give that solution a go in a second. Sadly I cant shrink the images unless you know of a way? they are exported directly from an O3D geometry.

    With your first solution...
  18. Grab every 10,000 Charecter from Data URI

    Hi,

    This is a strange question and not entirely related to javascript however as javascript is so powerful I am sure it can fix what I need fixing :)

    The problem: I am loading images from my...
  19. Replies
    3
    Views
    3,338

    I see, so can I just wrap that around my php code?

    I see, so can I just wrap that around my php code?
  20. Replies
    31
    Views
    1,571

    Right I understand, okay im just going to stick...

    Right I understand, okay im just going to stick with a generic alert rather than complicate things but thanks for your help with anything :D much appreciated
  21. Replies
    31
    Views
    1,571

    Hmm that is just displaying the contents of div1...

    Hmm that is just displaying the contents of div1 not the arguments passed from the onclick?
  22. Replies
    3
    Views
    3,338

    Stop Form Submit Page Refresh

    Hi,

    I have a .php page with a form that writes to my database and also sends an email, I want to stop the page from refresh when I click submit is this possible? Maybe with jquery? My form and...
  23. Replies
    31
    Views
    1,571

    1. All of them fit = nothing 2. Some of them fit...

    1. All of them fit = nothing
    2. Some of them fit = nothing
    3. None of them fit = alert saying "this will not fit, this only fits then a list of what it fits"

    Sorry if I am being confusing :p I...
  24. Replies
    31
    Views
    1,571

    Sorry, If it fits then nothing happens if it does...

    Sorry, If it fits then nothing happens if it does not fit then I want it to alert saying it does not fit this model only fits onto then a list of values it fits on to
  25. Replies
    31
    Views
    1,571

    Damn that is some hectice coding I dont have a...

    Damn that is some hectice coding I dont have a clue how ur doing this :p anyway that now just says will not fit in the alert without saying the variables?
Results 1 to 25 of 211
Page 1 of 9 1 2 3 4
HTML5 Development Center



Recent Articles