Welcome to TalkGraphics.com
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 52
  1. #41
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Hi Maarten, Checking the source code the path to the images are wrong, it is looking for the images on a local driveCheck the image paths in the placeholder code this one should read
    Code:
    <img src="index_htm_files/image11.jpg" width="75px" border="0px"/>
    Last edited by jamesd; 15 March 2014 at 08:51 PM.

  2. #42
    Join Date
    Feb 2012
    Location
    Lelystad, Netherlands
    Posts
    26

    Default Re: How to make a scroll text box in Xara

    Quote Originally Posted by maarten82 View Post
    I have just one small question, can the scrollbar thats shown on the left side of the page disapare?
    i mean so that the text or pictures stay scrolable but just not showing the scrollbar on the left side?

    thanks again for your help!

    greets maarten

    Hai JamesD, would you take al look @ my website and explane why the small thumnails are not showing on the right side of my website... see the last post from me, te read and see my website..

    thanks allot!

    greets maarten

  3. #43
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Hi Maarten , I answered in post #41

  4. #44
    Join Date
    Feb 2012
    Location
    Lelystad, Netherlands
    Posts
    26

    Default Re: How to make a scroll text box in Xara

    I have found the sollution... no need for help any more...

    thanks!! everyone!

  5. #45
    Join Date
    Feb 2012
    Location
    Lelystad, Netherlands
    Posts
    26

    Default Re: How to make a scroll text box in Xara

    Quote Originally Posted by jamesd View Post
    Hi Maarten, Checking the source code the path to the images are wrong, it is looking for the images on a local driveCheck the image paths in the placeholder code this one should read
    Code:
    <img src="index_htm_files/image11.jpg" width="75px" border="0px"/>
    Hai, Thanks for your answer, i did this and it works perfectly! thanks for your help again!

    before you give your answer i did read this post again and saw the answer standing somewere in the beginning, because someone had the same problem.

    but still thanks voor your help, great that there a still people that help newbies like me in de html world! thanks JamesD.

    maybe i have one small question, on my website where the scrolling pictures are on the right you can see that i have placed to arrows with the text scroll.
    how can i create that the arrows are really scroll buttons voor the photos. because on my laptop i don't have a scrollbutton like on my mouse.

    hop you have an idea?

    greets maarten

  6. #46
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Hi Maarten, I came across this jQuery plugin on Sitepoint.

    Add this to your placeholder (head section)
    HTML Code:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
    <script type="text/javascript">
    $(function() {
        var ele   = $('#inner-scroll');
        var speed = 25, scroll = 5, scrolling;
        
        $('#scroll-up').mouseenter(function() {
            // Scroll the element up
            scrolling = window.setInterval(function() {
                ele.scrollTop( ele.scrollTop() - scroll );
            }, speed);
        });
        
        $('#scroll-down').mouseenter(function() {
            // Scroll the element down
            scrolling = window.setInterval(function() {
                ele.scrollTop( ele.scrollTop() + scroll );
            }, speed);
        });
        
        $('#scroll-up, #scroll-down').bind({
            click: function(e) {
                // Prevent the default click action
                e.preventDefault();
            },
            mouseleave: function() {
                if (scrolling) {
                    window.clearInterval(scrolling);
                    scrolling = false;
                }
            }
        });
    });
    </script>
    on the line where you see var ele = $('#inner-scroll'); change the red to the id of your scroll box and where you see var speed = 25, scroll = 5, scrolling; change the red to adjust the scroll speed.
    Next using the name tag give the name scroll-up to the up arrow(image) and scroll-down to the down arrow(image)

    You can see a demo here
    Attached Files Attached Files

  7. #47
    Join Date
    Feb 2012
    Location
    Lelystad, Netherlands
    Posts
    26

    Default Re: How to make a scroll text box in Xara

    Hai jamesD,

    This is a great sollution, but... the scrol function doesn't scroll furder then the page it zelf, it goes a centimeter up and down and thats it.

    do you have any idea why? (i have copy paste the code from your example strait to my page and ajusted the names)
    i think there is a limit scroll to page up and down? or does it stay standard in the raigne from the page... when i scroll with the mouse there is no problem.

    thanks again for your help. see my website and go to the maternity page to see what i mean.
    maartendesiree.magix.net

    greets maarten

  8. #48
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Hi Maarten, I have not been able to use my pc much lately... your page wasn't accessible from a mobile device but it now seems that your site is down so I cannot check. Can you look at this DEMO and see if you experience the same problem?

  9. #49
    Join Date
    Aug 2013
    Location
    Miami, FL U.S.A
    Posts
    34

    Default Re: How to make a scroll text box in Xara

    Thank you very mush Jamesd, take a look of what i done with your advice, is a templates store inserted in my website, I used to make a category menu. http://www.salesjoint.org/templates%20store.htm

    thank you.

  10. #50
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Looks great jhorta32, very good use of a scrollable text box

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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