Graphic Design Forum and Web Design Forum

Compare Web Hosting


Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-07-2008, 03:59 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 19
Default using two scripts in one page

Helo, I am having some problems building a page.

I found a nice script that I can use to have the same effect of the dock of macs. It works great. The problem is that the width of the images I use is bigger than that of the screen. As a result I get an annoying horizontal scroll bar at the bottom.

So I tried to use another script that will scroll automatically left and right when I hover the edges of the screen. I had no luck, it seems that the two scripts cannot work together... I don't know javascript, i've just used some scripts two or three times, so I cant imagine what could be wrong. I just need to do this.
I can leave it with the scroll bar, but if you have any suggestions... all welcome...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote

  #2 (permalink)  
Old 01-07-2008, 04:52 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 22,368
Default

What scripts are they prototype.js clashes with alot of other scripts
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 05:03 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 19
Default

I don't fully understand your question, but the dock uses the jquery library and the other uses mootools, I don't know if this helps...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 05:08 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 22,368
Default

Do you know what elements of mootools and jquery? As in when you select your elements in mootools which did you check
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #5 (permalink)  
Old 01-07-2008, 05:20 PM
weremoose's Avatar
Junior Member
 
Join Date: Apr 2008
Location: Greece
Posts: 19
Default

well I didn't select any elements, or at least that's what I think...

the dock script links to a jquery file with lots of code I don't understand
and then there is this:



the other script links to a similar file and I use this on my page:





...I feel a little stupid but I hope I will learn to write code on my own one day...
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #6 (permalink)  
Old 01-07-2008, 06:06 PM
Toon's Avatar
Netvibes is an Addiction™
 
Join Date: Jan 2007
Location: Sheffield, UK
Gender: Male
Posts: 22,368
Default

I would suggest using a complete mootools solution, try some of the menus here...

Nice List of Open Source Fish Eye Menu | Web Resources | WebAppers

There are some mootools ones, I think sometimes the jquey scripts and mootools scripts clash to do with the way they are stacked, especially if they both have an onload function working at the same time.

This is not gospel just my personal opinion
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
  #7 (permalink)  
Old 03-07-2008, 10:53 PM
tr0y's Avatar
Experienced Member
 
Join Date: Jul 2008
Location: Seattle, Wa
Gender: Male
Posts: 181
Default

I have also experienced clashes with jquery and mootools, one problem is that they both use "$" is two very different ways. Mootools only lets a single element selector within $, asking you to create an array in a different way, whereas jquery will accept a single element or an array with $. i would totally suggest mootools, but its my drug of choice at the moment, so maybe you shouldn't just take an addicts word
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes PageTwit this!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
28 AJAX Scripts for Designers Graphic Design Links Graphic Design Links 0 28-05-2008 08:00 AM
Image Hosting Scripts dannynosleeves General Web Design Forum 1 17-05-2008 05:28 AM
...what about scripts? gabrielhml Graphic Design and Web Design Help 5 04-04-2008 08:31 AM
My copyright right moves slightly from page to page? ewwatson CSS Forum 6 14-03-2008 01:44 AM
wordpress scripts & beef PolarBear General Web Design Forum 3 22-09-2007 02:53 PM



The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum
Free Vista Themes Creativecurio - Design Blog Graphic Design Advertising Graphic Design Advertising
The Top The Best Images Heavenly Glimpses Photography Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations
Free Design Portfolios

Create your own custom 2010 Calendars

Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Design by Miner Skinz.com | Logo Design UK | Art Schools Online | Pressure Seal Printing | Vision.To Design

Colour Print | Graphic Design UK | Logo Design | Photography Blog | Brochure Design UK | Design Forum Links | Logo Design

Graphic Design Schools Online | Integrated Cards | Integrated Labels | Graphic Design | Logo Design | Graphic Design Social Network

Logo Design | Integrated Cards & Labels | Graphic Design Tutorials | Logo Designer | UK Logo Design Studio

Colour Printers, Web Design and Logo Design UK | Business Cards | Accident and Injury Claims Rotherham UK | Logo Design Blog

Funfair Hire, Carousel Hire, Carnival Hire in the UK | Web Designer Rotherham, Yorkshire, UK | Damp Proofing & Plastering, Dartford, Kent

Damp Proofing, Refurbishment & Plastering, London | Wedding Photography London, Wedding Photographer, Kent

Free Dating in Sheffield | Free Dating in Sheffield and Yorkshire Forum | Motorhome Rental and RV Hire Scotland | Vector Art Blog

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Estetica Design Forum's Privacy Policy