Jump to content

virtualadz

Members
  • Posts

    489
  • Joined

  • Last visited

Everything posted by virtualadz

  1. ok, i will remove it from this code, but then what about this "This is because the <object> tag is recognized by Internet Explorer, and Netscape recognizes the <embed> tag and ignores the <object> tag." it's written in the tut <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="630" height="150" id="flash_fma_finished" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="swf.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="swf.swf" quality="high" bgcolor="#ffffff" width="630" height="150" name="flash_fma_finished" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
  2. well, i took a sharp note of scott's post, and visited the url, tried to match the minimum code there with my movie, everything's ok. it's also written there "Let the Flash Program do the Work" , i published the html code using flash and so no hand in mine, it all done by the program. by the way what's the error in embed tag
  3. reply to:dcole.ath.cx: i would have taken a note of what you said but first there are no errors when i press ctrl+enter or in other words play the movie, and secondly, this movie ain't created by me, it's by the flash makers themselves or their company
  4. what errors are you talking , i have no errors, working with the movie for a long time,
  5. this is my flash movie code, what is wrong with it<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="630" height="150" id="flash_fma_finished" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="swf.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="swf.swf" quality="high" bgcolor="#ffffff" width="630" height="150" name="flash_fma_finished" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
  6. one quick question: doesnt a flash movie validate, i am recieving so many errors when i validate, i have never heard of such, is it that a flash movie can't be validated?http://validator.w3.org/check?uri=http://bhuratea.com
  7. is it going to collide with my other .htaccess file, i am a little confused, but will give it a try.
  8. very thanks, i have been using that script all along never knew it wasn't needed.
  9. i didn't understand, i haven't specified in the code under which folder to block all images, how will it know then?, my .htaccess file is located hereroot/folder/.htaccessand all the images will be under the folder- root/images/exclusiveRewriteRule \.(mp3|ogg|mpg|gif|jpg)$ - [R,NC,Lin the code above it's written to block all mpg,gif,jpg under my site.
  10. wow, of great help. but first of all, which one do i use thisRewriteEngine onRewriteCond %{HTTP_REFERER} !^http://www\.bhuratea.com\.com [NC]RewriteCond %{HTTP_REFERER} !^$RewriteRule \.(mp3|ogg|mpg|gif|jpg)$ - [R,NC,L]Options -indexesRewriteEngine onRewriteCond %{HTTP_REFERER} !^http://www\.bhuratea.com\.com [NC]RewriteCond %{HTTP_REFERER} !^$RewriteRule \.(gif|jpg)$ /images/antileech.gif [L]Options -indexes second i dont want to block all my images rather i will make a special folder for those images and all images under that folder should be blocked
  11. a. i have a exclusive section in my site only for members, no matter i made it for memebers only, but anyone could get hold of those images by typing the url or linking to it from another page, is there a proper way by which i can protect my images, i dont worry if people take it away from inside the members section, but i dont want it to be taken away simply by linking or direct url. i wonder if there is any secure means. i need to protect my images .b. one second thing, which of the two do you people think i should take into making my image layout using css, these are the 2 urlshttp://www.alistapart.com/articles/practicalcss/http://www.webreference.com/programming/cs...les/gallery.htmthe 2nd one might be better as there is no need for the image to be opened in a popup window, as reqd. for the 1st one wher there is a need for a link and popup. which way (url) should i go/take into my image layout.
  12. no dont close it. just when i was about to rejoice in the fact that i figured it out, but am having no idea why it's behaving differently on the server, the code works great on my PC, but on site, see the error live, bhuratea.com , and this is my server side code, what could be wrong in there, <?php/* $Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $*/?><!-- search //--><script type="text/javascript"><!--// #### clear form ### function cls(str){ str.value = ""; return;}//--></script> <tr> <td><?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SEARCH); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'right', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" value="Search" onFocus="if(this.value=='Search') this.value='';" onBlur="if(this.value=='') this.value='Search';" style="width: ' . (BOX_WIDTH-20) . 'px"') . '<br>' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>'); new infoBox($info_box_contents);?> </td> </tr><!-- search_eof //-->
  13. well, thnks, but i have dropped this js world clock scripting, it's easir i think to make it in flash than javascript.
  14. figured it out thanks. close topic
  15. well, i think i figured it out to some extent, this is the code (most probabaly) for the form// #### clear form ### function cls(str){str.value = "";return;}but just want to confirm it, can anyone confirm if it's right.
  16. hi, i had a topic somewhere down the line regarding text disappear on click in a form. but then the text disappeared the on a second focus, couldn't quite deal with it, found another, here is the peice of code, in it:this is the html side:<input type="text" name="login" value="Email ID" onFocus="if(this.value=='Email ID') this.value='';" onBlur="if(this.value=='') this.value='Email ID';" size="16">and this is the javascript, , i copied this code from another site but the site has the other js functions for it's site, so need to know the exact code that makes the text show and hide, thanks, most probably i would think it is this piece of code in the script: not too sure. can anyone please pull out the exact reference to the form in the script below// #### clear form ### function cls(str){ str.value = ""; return;} <!--// #### allowing frames for roltanet ####if (self != top) { if (document.images) top.location.replace(window.location.href); else top.location.href = window.location.href;}function combo_option(obj,sub_heading){ var total = 0; var total_checked = new Array(); var flag = 0; for(var i=0;i<document.frm_main.elements[obj.name].length;i++){ if(document.frm_main.elements[obj.name].options[i].selected){ if(document.frm_main.elements[obj.name].options[i].text!=""){ total_checked.push(i); total++; } if(total>3){ document.frm_main.elements[obj.name].options[i].selected=false; total++; flag = 1; } } } if (flag == 1) { alert("You can choose only three "+sub_heading); } flag = 0;}function show_hide_options(refdiv, sign, selected_value){ var domItem=document.getElementById(refdiv); if(selected_value == "selected" || domItem.style.display=='none') { for(var i=1; i<=refdiv.substr(1); i++){ tmp_id=refdiv.substr(0,1)+i; document.getElementById(tmp_id).style.display=''; } if(sign){ sign.innerHTML=sign.innerHTML.replace('More','Fewer'); sign.innerHTML=sign.innerHTML.replace('plus','minus'); sign.style.background='#FFFFFF'; sign.innerHTML=sign.innerHTML.replace('span','span style=\"display: none;\"'); sign.innerHTML=sign.innerHTML.replace('SPAN','SPAN style=\"display: none;\"');// alert(sign.innerHTML+"+"); } }else{ for(var i=1; i<=refdiv.substr(1); i++){ tmp_id=refdiv.substr(0,1)+i; document.getElementById(tmp_id).style.display='none'; } if(sign){ sign.innerHTML=sign.innerHTML.replace('Fewer','More'); sign.innerHTML=sign.innerHTML.replace('minus','plus'); sign.style.background='#F3F3F3'; sign.innerHTML=sign.innerHTML.replace('span','span style=\"display:;\"'); sign.innerHTML=sign.innerHTML.replace('SPAN','SPAN style=\"display:;\"');// alert(sign.innerHTML+"+"); } }}function check_option_dosent_matter(obj){ var check_flag = 0; var i = 0; for(i=0;i<document.frm_main.elements[obj.name].length;i++){ if(check_flag == 1){ document.frm_main.elements[obj.name][i].checked =false; } if (document.frm_main.elements[obj.name][i].value=="null" || document.frm_main.elements[obj.name][i].value=="") { if (document.frm_main.elements[obj.name][i].checked==true) check_flag = 1; } }}function check_option(obj){ for(i=0;i<document.frm_main.elements[obj.name].length;i++){ if (document.frm_main.elements[obj.name][i].value=="null" || document.frm_main.elements[obj.name][i].value==""){ if (document.frm_main.elements[obj.name][i].checked==true) document.frm_main.elements[obj.name][i].checked =false; } }}/** * counter for textarea * * @author Ritchie * @param string sForm form name * @param string sTextArea textarea name * @param string sTextInput counter name * @param integer iMaxLimit max number for counter * * @usage <textarea onKeyUp="calcCharLen('form_name', 'field_name', 'counter_name', 100)" onBlur="calcCharLen('form_name', 'field_name', 'counter_name', 100)" wrap="virtual" maxLength="100" class="forminput">*/function calcCharLen(sForm, sTextArea, sTextInput, iMaxLimit){ var _oDF = document.forms[sForm]; var _oTxtA = _oDF.elements[sTextArea]; var _iMaxLength = (!iMaxLimit) ? 100 : iMaxLimit; var _iCharLeft = _oTxtA.value.length; _oDF.elements[sTextInput].value = _iCharLeft; if(_iCharLeft > _iMaxLength) { _oTxtA.value = _oTxtA.value.substring(0, _iMaxLength); _oDF.elements[sTextInput].value = _iMaxLength; alert('You can enter only '+_iMaxLength+' characters.'); }}// #### clear form ### function cls(str){ str.value = ""; return;}var opened=false;var win;function openWin(str,nm,width,height){ if(opened == false){ win = open(str,nm,"status=0,scrollbars=1,menubar=0,toolbar=0,location=0,resizeable=0,width="+width+",height="+height); } else if(opened == true){ if(win.closed == false) win.close(); win = window.open(str,nm,"status=0,scrollbars=1,menubar=0,toolbar=0,location=0,resizeable=0,width="+width+",height="+height); } opened = true; }function setStat(str){ window.status=str; window.defaultStatus="";}function veriPopUp(url) { sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=720,height=450'); self.name = "mainWin"; }function age_diff_max(){ var diff = parseInt(document.quicksearch.ageto.options[document.quicksearch.ageto.selectedIndex].text) - parseInt(document.quicksearch.agefrom.options[document.quicksearch.agefrom.selectedIndex].text); if(diff > 10) { alert("Age range exceeds 10 years.\nChange age range or use Smart Search"); return false; } else if(parseInt(document.quicksearch.ageto.options[document.quicksearch.ageto.selectedIndex].text) < parseInt(document.quicksearch.agefrom.options[document.quicksearch.agefrom.selectedIndex].text)){ alert("Invalid From & To Age"); return false; } else { return true; }}function chk_community(){ if (document.quicksearch.community.options[document.quicksearch.community.selectedIndex].value == ""){ alert("Please select Community"); return false; }else{ return true; }}function chk_quicksearch(){ if (age_diff_max() == true){ return chk_community(); } else{ return false; } }function go(){ href = document.explore.destination.value; if(href) window.open(href);}//-->
  17. well, just see now http://bhuratea.com/tea_health and http://bhuratea.com/tea_health/index.php both work, i can make a link to this http://bhuratea.com/tea_health/index.php, in my page, but can't find it to do with it. not sure what's causing it, anyways thanks.
  18. Name: LunarpagesPrice: $6.95;$7.95Server side scripting(s)/database(s): UNLIMITED MySQL DatabaseSpace: Up To 5000 Megabytes StorageBandwidth: 400 Gigabytes Data Transfer Ads: NoneWeb adress: lunarpages.comAdditional Comments: i have 2 domains hosted with them, and i am quite satisfied with their service and customer support.
  19. i did as you told me "added the slash after the folder name" check the linkhttp://bhuratea.com/tea_health/it wont work, so i dont think it matters with the slash,define('FILENAME_TEA_HEALTH', 'tea_health/');it works from my php page, if the url is set to like thisdefine('FILENAME_TEA_HEALTH', 'tea_health/index.php');any more ideas??????
  20. ok, check the links again , i reversed the changes that i made. now all 3 links (actually 2) work as beforeone can type it in the addressbar to get there, but i am unable to make it as a link as:http://bhuratea.com/tea_health , in my php pagethe reason being this piece of code<a href="<?php echo tep_href_link(FILENAME_TEA_HEALTH); ?>"><?php echo TWO_TEA_HEALTH; ?>this is the reference to FILENAME_TEA_HEALTHdefine('FILENAME_TEA_HEALTH', 'tea_health/index.php');you know what errors occur i make it like thisdefine('FILENAME_TEA_HEALTH', 'tea_health');i tried my hand at many other places but there wasn't any satisfactory answer.hope i was clear.
  21. changes made. --go to bhuratea.comyou will a find a menu with exact title "Tea & Health" , see it's URL, http://bhuratea.com/tea_healthok now what changes did i make? , these--in my file i changed thishttp://bhuratea.com/tea_health/index.phpto thishttp://bhuratea.com/tea_healthyou can see the resulting action there itself afterclicking on the link
  22. hosted with lunarpages. please wait...while i make the subsequent changes
  23. welll thanks all of you. just a quick note about jonas advice: i have tried giving (a) http://site.com/tea_health/instead of(http://site.com/tea_health/index.phpbut it doesn't work at all for me. not that the page doesn't appear if you type it (url a) in the address bar, but making it (url a) a link in the page doesn't work. if you want to indulge more (i.e. help me) i can show you a live example. once again thanks.
  24. thanks for your suggestions. just one last ? for this topic, if someone could point me in the right direction, i would like to ask:i am not sure if i have organized my site correctly, just have a look at the structure of a prt of my site.Homei. Tea and Health (site.com/tea_health/index.php) a. --Tea 4 Health (tea_health/tea_health.php) b. --Antioxidants (tea_health/tea_anti.php) antioxidants (tea_health/tea_antioxidants.php)this is the structure for one part of my site, as you can see there are many links i have under folder tea_health, is this the right way of linking same content, for antioxidants see how my url's are in the page tea_anti.php there is a link to tea_antioxidants. is this a nice way., am i doing it right for SEO. not sure if i am expressing myself clearly. thanks for any suggestions/advice
×
×
  • Create New...