Uncaught SyntaxError: Unexpected token var

böyle bir hata var tıklıyorum resimdeki gibi bir ifade çıkıyor bunu nasıl düzeltebiliriz acaba şimdiden teşekkürler. alt text

soruldu: 19 Eyl '13, 01:55

c3434's gravatar image

c3434
199232632
cevap kabul oranı: 50%

kod paylaşırmısınız? script kodunu görmeden hatayı bulmak zor. Gereksiz bir parantez, virgul, ... falan olabilir.

(19 Eyl '13, 02:05) AliRıza Adıyahşi ♦ AliR%C4%B1za%20Ad%C4%B1yah%C5%9Fi's gravatar image
enter code here<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<style type="text/css"> html, body, * { padding: 0; margin: 0; } p, h3 { padding: 1em 0 .5em 0; }

wrapper {

width: 700px;
margin: 0 auto;

}

content {

background: #bbb;
margin-right: 260px;  /* = sidebar width + some white space */

}

sidebar {

background: #ddd;
position: fixed;
left: 50%;
top: 0;
margin-left: 100px;
width: 250px;
max-height: 100%;

}

sidebar:hover {

overflow-y: auto;

}

sidebar>* {

max-width: 225px; /* leave some space for vertical scrollbar */

} a{cursor:pointer;} a:hover{color:#ddd;} </style> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Tria</title> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1254"/> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9"/> <meta name="Tasarım &amp; Uygulama" content="7 Aralık | &lt;a href=" http:="" www.7aralik.com"="">www.7aralik.com" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> <link href="../../Lib/CSS/TetasTGYS.css" rel="stylesheet" type="text/css"/>

<link rel="stylesheet" media="all" type="text/css" href="../../Lib/CSS/DropDownMenu_Yonetim.css" />
<link rel="stylesheet" type="text/css" href="../../Lib/JS/FancyBox/jquery.fancybox-1.3.0.css" media="screen" />
<link href="../CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src='<%# ResolveClientUrl("~/Lib/JS/Tools.js") %>'></script>
<script type="text/javascript" src='<%# ResolveClientUrl("~/Lib/JS/jquery-latest.pack.js") %>'></script>
<script type="text/javascript" src='<%# ResolveClientUrl("~/Lib/JS/FancyBox/jquery.fancybox-1.3.0.pack.js") %>'></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("a.LastikZoom").fancybox({
            'titleShow': false
        });
    });

</script>

</head>

<script type="text/javascript"> function evalSound() { //alert("this dialogue has been invoked through codebehind.");

var callMe = document.getElementById('<%=MasterPageHiddenField1.ClientID %>'); if (callMe != null) { if (callMe.value != "0") { //alert(rowsCount.value);

var thissound = document.getElementById('soundCallMe'); //alert('Aranacak araç var!'); thissound.Play(); //alert(thissound); } } var panic = document.getElementById('<%=MasterPageHiddenField2.ClientID %>'); if (panic != null) { if (panic.value != "0") { //alert(panic.value); var thissound = document.getElementById('soundAlarm');

thissound.Play(); } } } </script>

<script type="text/javascript">
    window.onload = function () { var timeoutID = setTimeout(function () { evalSound() }, 2000); }

</script>

<script type="text/Javascript"> function doPostBackM(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } </script>
<body class="body">
<form id="form1" runat="server">

    <tr>
        <td>
            <table cellpadding="0" cellspacing="0" style="width: 1100px">
                <tr>
                    <td valign="top" style="width:324px"><asp:HyperLink ID="HL_Home" ImageUrl="~/Images/Image/Logo_TGYS.gif" NavigateUrl="~/TGYSWeb/Default.aspx" ToolTip="Ana Sayfa" runat="server"></asp:HyperLink>

</td>
                   <%-- <td width="90" align="right">                         
                    <asp:HyperLink ID="HyperLink_Alarm" ImageUrl="~/Images/Image/graphics-alarm-lights-687060.gif" NavigateUrl="~/TGYSWeb/Default.aspx" ToolTip="Ana Sayfa" runat="server"></asp:HyperLink>
                    </td>--%>
                    <td valign="top" align="right" syle="background-image: url('<%= ResolveClientUrl("~/Images/Bg/Top.jpg")%>'); background-repeat: no-repeat;width:636px">
                        <table align="right" cellpadding="0" cellspacing="5" style="width: 95%">
                            <tr>                          
                                <td align="right" class="A11_Tepe">
                                    Sayın&nbsp;
                                    <asp:HyperLink ID="HL_LoggedUser" CssClass="A11b_Tepe" runat="server"></asp:HyperLink>&nbsp; Hoşgeldiniz!.
                                </td>
                                <td style="width:95px" align="right">
                                    <asp:ImageButton ID="ImgBtn_Logout" ImageUrl="~/Images/Image/Butons/Btn_Cikis.gif" runat="server" onclick="ImgBtn_Logout_Click" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="background-image: url('<%= ResolveClientUrl("~/Images/Bg/TopMenu.png")%>'); background-repeat:no-repeat;height:40px">
            <table width="99%" cellpadding="0" cellspacing="0">
                <tr>
                    <td><uc1:TGYSWeb_TopMenu ID="TGYSWeb_TopMenu1" runat="server" /></td>
                    <td width="90" align="right" style="margin-left:-5px;">                          
                        <asp:HyperLink ID="HL_Help" Visible="false" CssClass="LastikZoom" ImageUrl="~/Images/Icons/Help.png" runat="server"></asp:HyperLink>
                    </td>                        
                </tr>
            </table>
        </td>
    </tr>
    </table>
</div>
<div class="container">
    <tr>
        <td>
            <asp:UpdatePanel
             ChildrenAsTriggers="False"
EnableTheming="True"
runat="server"
UpdateMode="Conditional"
ID="UpdatePanelMaster">

<Triggers>
    <asp:AsyncPostBackTrigger ControlID="TimerAlarmM"  EventName="Tick" />
</Triggers>                     
                <ContentTemplate>  
                <asp:ScriptManager ID="SM_UpdatePanelMaster" runat="server" EnableScriptGlobalization="true" />                     
                 <asp:HiddenField ID="MasterPageHiddenField2" runat="server" Value="0" ></asp:HiddenField>
                 <asp:HiddenField ID="MasterPageHiddenField1" runat="server" Value="0" ></asp:HiddenField> 
                    <asp:Timer ID="TimerAlarmM" runat="server" ontick="TimerAlarm_Tick" Interval="2000"> </asp:Timer>
                    <asp:ImageButton ID="Test" Visible="false" runat="server"/>
                    <table id="AlarmTable" width="100%" >
                    <tr>
                        <td style="width:960px"  align="center">
                            <asp:ImageButton ID="ImgBtn_Alarm" ImageUrl="~/Images/Image/graphics-alarm-lights-687060.gif" runat="server" PostBackUrl="~/TGYSWeb/Default.aspx" onclick="ImgBtn_Alarm_Click" />
                            <%--<asp:HyperLink ID="HyperLink_Alarm" ImageUrl="~/Images/Image/graphics-alarm-lights-687060.gif" NavigateUrl="~/TGYSWeb/Default.aspx" ToolTip="Ana Sayfa" runat="server"></asp:HyperLink>--%>
                        </td>
                    </tr>
                    </table>

<asp:ContentPlaceHolder id="ContentPlaceHolder3" runat="server">

<%--<asp:Timer ID="TimerAlarmM" runat="server" OnTick="TimerAlarm_Tick" Interval="5000"></asp:Timer> --%>
                </asp:ContentPlaceHolder>
                </ContentTemplate>                    
            </asp:UpdatePanel>               
        </td>            
    </tr>
    <tr>
     <td>
             <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

</asp:ContentPlaceHolder>
             </td>
    </tr>
    <tr>
     <td>
             <asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server">

</asp:ContentPlaceHolder>
             </td>
    </tr>

</div>
    <div id="footer">
        <div class="footer">
        <tr>
                <td align="right">
                    <table style="width:465px; background-color:#ffffff" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:Image ID="Image1" ImageUrl="~/Images/Image/Alt_Destek_Tel.gif" ToolTip="Telefonla Destek" runat="server" />
                            </td>
                            <td>
                                <asp:HyperLink ID="HL_Tetas" ImageUrl="~/Images/Image/Alt_Destek_EPosta.gif" NavigateUrl="~/TGYSWeb/Support/AddNew_SupportForm.aspx" ToolTip="TGYS Destek Bölümü" runat="server"></asp:HyperLink>
                            </td>
                            <td>
                                <asp:HyperLink ID="HyperLink1" ImageUrl="~/Images/Image/Alt_TetasElectronic.gif" NavigateUrl="http://www.tetaselectronic.com" Target="_blank" runat="server"></asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </td>
        </tr>
        </div>
    </div>

<embed src="../Sounds/callMe.wav" autostart=false width=1 height=1 id="soundCallMe" enablejavascript="true">
<embed src="../Sounds/alarm.wav" autostart=false width=1 height=1 id="soundAlarm" enablejavascript="true">

</form>

</body> </html> Tokeni bir türlü bualmadım yardımcı olursanız çok sevinirim

(19 Eyl '13, 07:44) c3434 c3434's gravatar image

jquery paketini yükselt

(24 Eyl '13, 10:37) thebighead thebighead's gravatar image
Bu soruya ilk cevap veren sen ol!
toggle preview

Bu soruyu takip et

E-Posta üzerinden:

Üyelik girişi yaptıktan sonra abonelik işlemlerini yapabilirsiniz

RSS üzerinden:

Cevaplar

Cevaplar ve Yorumlar

Yazı Formatlama

  • *italic* ya da _italic_
  • **bold** ya da __bold__
  • link:[text](http://url.com/ "başlık")
  • resim?![alt text](/path/img.jpg "başlık")
  • liste: 1. Foo 2. Bar
  • temel HTML etiketleri de kullanılabilir

Bu sorunun etiketleri:

×158
×2

Soruldu: 19 Eyl '13, 01:55

Görüntüleme: 690 kez

Son güncelleme: 24 Eyl '13, 10:54

powered by BitNami OSQA