Please help me with a problem with javascript or another thing?

     <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Urunler.aspx.cs" Inherits="Urunler" %>

     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     <html xmlns="http://www.w3.org/1999/xhtml">
     <head runat="server">

     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
     <meta http-equiv="content-language" content="en" />

     <link href="rss/example_ticker.css" rel="stylesheet" type="text/css" />


     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" 
     type="text/javascript"></script>
     <script src="rss/jquery.zrssfeed.min.js" type="text/javascript"></script>
     <script src="rss/jquery.vticker.js" type="text/javascript"></script>

     <title></title>

     <script type="text/javascript" src="lightbox/js/prototype.js"></script>
     <script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
     <script type="text/javascript" src="lightbox/js/lightbox.js"></script>

     <link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />

     <style type="text/css">

     ...........
     ...........
     ...........
     <td style="background-color: #808080">

     <script type="text/javascript">
       $(document).ready(function () {
         $('#ticker1').rssfeed('http://www.xxxxxxx.com/map.asp').ajaxStop(function () {
          $('#ticker1 div.rssBody').vTicker({ showItems: 3 });

        });
       });
     </script>     

     <div  id="ticker1" >                                                         
     </div>

Hi, I have two .lightbox and rss scripts. The lightbox script works very well in mywebform1, but the rss feed is not working. I didnot solve this? Help me please.

PS: on the other hand, my other web page (mywebform2) on the same website only has an rss feed and works very well.

+3
source share
2 answers

You have probably encountered a conflict between the downloaded jQuery and Prototype files.

Choose the option you want to use (perhaps the best solution), or check out this documentation on how to use both together.

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

+2

, , jQuery. , , . jQuery Prototype Scriptaculous... , jQuery.

0

Source: https://habr.com/ru/post/1746775/


All Articles