Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    image display from an array

    Hi guys and girls

    I've searched and searched but haven't managed to find out how i can get an image to display when the url is stored in an array; let me try to make it a lil more understandable.

    I got the following code: http://www.javascriptkit.com/script/...calendar.shtml

    Its the events calendar.

    When i click on a date that has an event the right text box displays information about that event. I however, want to display an image with description from a url that I have (meaning it needs to be inserted into the array in the events.js file). How on earth do i do that?

    Im making a website for an artist friend of mine and would like to make a calendar displaying the events where she is performing at with a picture and some text/description. Perhaps i should be looking for something a little more userfriendly where she could submit her dates, edit and delete them through an admin panel - if you know of a better script than the one i am currently using, please let me know!

  • #2
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    didnt think it was that difficult to fix?

  • #3
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,494
    Thanks
    3
    Thanked 499 Times in 486 Posts
    calendars can take up a lot of time

    not willing to modify code but look at my site, find one that looks similar and I may modify it for you.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #4
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks mate =) appreciate it. I took a look at your calendars, they pretty good!

    However, what i need is to be able to submit images into the calendars so that they display in the memos. Preferably be able to do this through an admin panel so that normal visitors cant edit it. I've been looking for something like this for ages, but no luck. Its basically so people can see party events flyers for her gigs. Any ideas?

  • #5
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,494
    Thanks
    3
    Thanked 499 Times in 486 Posts
    At the moment memo panes may containe text reqistered in an array for matxhing dates

    Yhere is no reason why this text cannot be an image, can do this but how you register the image in the array would be your problem.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #6
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    how do i make the image link without having it display as text? appreciate the help!

  • #7
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,494
    Thanks
    3
    Thanked 499 Times in 486 Posts
    I took a look at your calendars, they pretty good!
    what one did you want to use
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #8
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,494
    Thanks
    3
    Thanked 499 Times in 486 Posts
    see

    http://www.vicsjavascripts.org.uk/Ca...rsMultiple.htm

    use image HTM Code as message or assign background-image of message class rule
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #9
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Appreciate all the help your giving.

    I want to keep with the calendar im currently using, but just edit it in such a way that i can post pictures.

    I tried using <.img src="".> (without the '.') and it only shows up as text


    If you look at the coding the data is stored in an array:

    events = new Array(
    ["", "6", "2", "2006", "8:00 PM", "12:00 PM", "Samsung Red Carpet event", "Fill in whatever you want here."]

    );


    I want to put a picture link inside the quotation that says: "Fill in whatever..." and when i view the calendar want it to actually display the picture. Normal htm coding didnt work, only showed up as normal text.

    How do i assign background-image of message class rule? Im a complete newbie! hehe

  • #10
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    vwphillips still there?

  • #11
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,494
    Thanks
    3
    Thanked 499 Times in 486 Posts
    back tomorrow
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #12
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    haha k thanks =)

  • #13
    New to the CF scene
    Join Date
    Jun 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    need some desperate help guys...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •