Jump to content

Divante

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Divante's Achievements

Member

Member (2/5)

0

Reputation

  1. i have an email address explicitly defined in the to field, but some how emails are getting sent to null.
  2. Okay im not sure if this is the best or right place to be posting this , but i have an issue. When emails are sent from a website i maintain they are getting sent to null@somesite.com . Any help or point in the right direction would help. Thanks
  3. You are a life saver. Thanks a ot problem fixed. :Dl
  4. I am having an issue with internet explorer on when loading or refreshing the page. i have an element i am immediately trying to hide as soon as the DOM is loaded i.e on document.ready. It works well in firefox as the element does not show at all, but in internet explorer there is a brief delay before it is hidden. I will appreciate any insight as to how to solve this issue with internet explorer. Basically i am trying to hide the drop down lists as soon as the page loads. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('.submenu').hide(); /*$('#imagepanel').slideshow({ timeout: 8000, type: 'sequence' }); */ /*$('#imagepanel2').slideshow({ timeout: 8000, type: 'sequence', transition:'fade' });*/ /*$("#stats").easySlider({ speed: 800, auto: false, pause: 5000, continuous: false, numeric: true });*/ $('li.mainmenu').hover( function() { $this = $(this); $this.addClass('tab') var activate = "#sub"+$this.attr("rel"); $(activate).fadeIn("fast"); }, function() { $this = $(this); $this.removeClass('tab'); $('.submenu').hide(); } ); $('li.mainmenu').mouseup( function() { $this = $(this); $this.removeClass('tab'); $('.submenu').hide(); } ); /*$("#showslider").slideUp("slow"); <?PHP if($_SESSION['alert']!=1){ $_SESSION['alert']=1; ?> $("#showslider").slideDown(3000); <?PHP } ?> */ }); </script> <div id="header"> <a href="/index.php"><img src="/graphics/logo_ABC.gif" alt="ABC body products" /></a> <h6>Taking new aim at skin </h6> <ul id="menutext"><li><a href="/index.php">Home</a></li><li><a href="locations.php"> Locator</a></li><li><a href="support.php">Support</a></li><li class="last"><a href="about-contact.php">Contact Us</a></li></ul> <div id="containermenu"> <ul id="menumain"> <li class="first mainmenu" rel="products"><a href="/solutions.php">Solutions</a> <ul class="submenu" id="subproducts"> <li><a href="/solutions.php">Solutions & Products</a></li> <li><a href="/products.php">ABC </a></li> <li><a href="/products-skin-solutions.php">ABC Skin Solutions</a></li> <!-- <li class="last"><a href="/astrum.php">Astrumâ„¢ EHR</a></li>--> </ul> </li> <li class="mainmenu" rel="services"><a href="/services.php">Services</a> <ul class="submenu" id="subservices"> <li><a href="/shared_services.php">Shared Services </a></li> <li><a href="/biomedical.php">Biomedical Engineer & Training Program</a></li> <li><a href="/training.php">Clinical Applications Training </a></li> <li><a href="/warranty.php">Warranty & Maintenance Programs </a></li> <li><a href="/marketing.php">Marketing & Co-Branding </a></li> <li><a href="/commissioning.php">Site Preparation & Commissioning</a></li> </ul> </li> <li class="mainmenu" rel="patients"><a href="/for-the-patient.php">For the Patient</a> <ul class="submenu" id="subpatients"> <li><a href="/patient-health.php">Patient Health </a></li> <li><a href="/prevention.php">Prevention </a></li> <li><a href="/uv-index.php">UV Index </a></li> <li><a href="/testimonial.php">Patient Testimonials </a></li> <li><a href="/resources.php">Clinical Resources</a></li> <li><a href="/articles_posters/posters.php">Articles & Posters </a></li> <li><a href="/clinical_papers_abstract/posters.php">Clinical Papers & Abstracts </a></li> </ul> </li> <li class="mainmenu" rel="doctors"><a href="/for-the-doctor.php">For the Doctor </a> <ul class="submenu" id="subdoctors"> <li><a href="/dermatologists.php">Dermatologists </a></li> <li><a href="/radiation_oncologists.php">Radiation Oncologists </a></li> <li><a href="/shared_services.php">Shared Services </a></li> <li><a href="/therapy-modalities-comparison.php">Therapy Modalities Comparison </a></li> <li><a href="/resources.php">Clinical Resources</a></li> <li><a href="/case-studies.php">Case Studies </a></li> <li><a href="/marketing.php">Marketing & Co-Branding </a></li> <li><a href="/articles_posters/posters.php">Articles & Posters </a></li> <li><a href="/clinical_papers_abstract/posters.php">Clinical Papers & Abstracts </a></li> </ul> </li> <li class="mainmenu" rel="media"><a href="/media-room.php">Media Room</a> <ul class="submenu" id="submedia"> <li><a href="/media-room.php">Media Room</a></li> <li><a href="/multimedia.php">Multimedia</a></li> <li><a href="/news/news.php">News</a></li> <li><a href="/case-studies.php">Case Studies</a></li> <li class="last"><a href="/events.php">Events</a></li> </ul> </li> <li class="last mainmenu" rel="about"><a href="/about.php">About Us</a> <ul class="submenu" id="subabout"> <li><a href="/about.php">About ABC body products</a></li> <li><a href="/about-mission.php">Our Mission</a></li> <li><a href="/about-leadership.php">Leadership Team</a></li> <li><a href="/about-medical.php">Medical Advisory Board</a></li> <li><a href="/about-directors.php">Board of Directors</a></li> <li><a href="/about-partners.php">Partners</a></li> <li><a href="/about-directions.php">Map/Directions</a></li> <li class="last"><a href="/about-contact.php">Contact Us</a></li> </ul> </li> </li> <!-- end header --><script type="text/javascript"> $('#s3').cycle({ fx: 'fade', speed: 4500 }); </script>
  5. Thanks, i have the problem solved.
  6. Hi , i need help with prperly configuring my .htacces file for redirects from a domain name that was built on asp to the same domain name on a wordpress installation. Not so sure what i am doing wrong. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> RewriteCond %{HTTP_HOST} ^domain.com$ RewriteRule ^/?$ "http\:\/\/www\.domain\.com\/" [R=301,L] redirect 301 airplane-hangar-buildings.asp http://www.domain.com/airplane-hangar-buildings redirect 301 a-line.asp http://www.domain.com/a-line redirect 301 building-specifications.asp http://www.domain.com/building-specifications redirect 301 commercial-steel-buildings.asp http://www.domain.com/commercial-steel-buildings redirect 301 ompanyinfo.asp http://www.domain.com/companyinfo redirect 301 construction.asp http://www.domain.com/construction redirect 301 contact.asp http://www.domain.com/contact redirect 301 distributor.asp http://www.domain.com/distributors redirect 301 farm-storage-buildings.asp http://www.domain.com/farm-storage-buildings redirect 301 green.asp http://www.domain.com/green redirect 301 industrial-metal-buildings.asp http://www.domain.com/industrial-metal-buildings redirect 301 industry-partners.asp http://www.domain.com/industry-partners redirect 301 metal-truck-garage-buildings.asp www.domain.com/residential-steel-garage-buildings redirect 301 miniformasp.asp http://www.domain.com/ i am won redirect 301 models.asp http://www.domain.com/models redirect 301 news.asp http://www.domain.com/news redirect 301 p-line-metal-buildings.asp http://www.domain.com/p-line-metal-buildings redirect 301 privacy-policy.asp http://www.domain.com/privacy-policy redirect 301 qanda.asp http://www.domain.com/qanda redirect 301 q-line.asp http://www.domain.com/q-line redirect 301 quote.asp http://www.domain.com/quote redirect 301 residential-steel-garage-buildings.asp http://www.domain.com/residential-steel-garage-buildings redirect 301 sitemap.asp http://www.domain.com/sitemap redirect 301 s-line-metal-garage.asp http://www.domain.com/s-line-metal-garage redirect 301 specials.asp http://www.domain.com/specials redirect 301 testimonials.asp http://www.domain.com/testimonial redirect 301uses.asp http://www.domain.com/uses redirect 301 video.asp http://www.domain.com/video redirect 301 workshop-metal-building-kits.asp http://www.domain.com/workshop-metal-building-kits
  7. thanks alot i appreciate the quick responses...thats why i love this forum
  8. Hi, basically i am parsing some rtf/word files and generating excel csv's for upload into mysql database....my issue is in one of the fields i want to store the value in the mysql datetime / date format but excel keeps reformating it. Any help on how to overcome this will be highly appreciated.
  9. Basically i am new to WordPress and using contact form 7 , i would appreciate a point in the right direction to populate a select/dropdown menu using get/post variables.Thanks.
  10. Basically i need help with an issue. I am new to wordpress and working on a website that used form builder for the wordpress forms. i need to be able to pre-populate this form using the variables in the url query string. Any help will be highly appreciated.
  11. Thanks alot but i figured it out.
  12. Hi i am still fairl new to php and sometime my logic seems of but iam having difficulty with pagination. Basically i have a function that searches the database base for user within a certain age range. Then based on that age range select data that will be paginated. My issue is the pagination is to depend on the second query as that is what i am concerned about. But i seem to be havong problems implementing this functionality. Any help or point in the right direction will be apprecited. function search($gender,$agel,$ageh,$state){ $this->connect(); $searchq=mysql_query("SELECT * FROM users WHERE user_sex='$gender' AND user_state='$state'") or die(mysql_error()); $rows_search=mysql_num_rows($searchq); if($rows_search>0){ for($i=0;$i<$rows_search;$i++){ $age=$this->GetAge(mysql_result($searchq,$i,"user_birthday")); $mainimg=mysql_result($searchq,$i,"user_main_img"); if($age>=$agel && $age<=$ageh){ $mainimgq=mysql_query("SELECT ".$mainimg." FROM users WHERE user_id='".mysql_result($searchq,$i,"user_id")."'"); if(mysql_result($searchq,$i,"user_main_img")!=''){ $img="images/users/".mysql_result($searchq,$i,"user_id")."/".mysql_result($mainimgq,0,mysql_result($searchq,$i,"user_main_img")).""; } else { $img="images/noimage.png"; } echo "<div style=\"float:left; width:180px; padding-right:30px;\"><div style=\"padding-bottom:5px; text-align:center;\"><a href=\"user-details.php?user=".mysql_result($searchq,$i,"user_username")."\"><img src=\"$img\" width=\"150\" height=\"200\"></a></div><div style=\"width:180px; text-align:center; padding-bottom:20px; \"><a href=\"user-details.php?user=".mysql_result($searchq,$i,"user_username")."\" style=\"color:#838383; font-size:15px;\">".mysql_result($searchq,$i,"user_username")."</a></div></div>"; } } } else { echo "There were no results based on your search criteria."; } }
  13. thanks all for the input, i know JavaScript can tend to be unreliable some times especially in cases where its turned off. i have kinda solved the problem by running a cron job once every 3 or 4hrs to remove session data as each login session is unique and will be ended once the browser is closed. Hence i look for those special cases once every 4 hrs. Any additional inputs will be appreciated.
  14. I am looking for a way to customize javascript alert boxes as far as color and style. Basically to make it look nice and user friendly . I have tried jquery.alerts but to no avail.Probably i am implementing it wrong. i am tryn to verify a radio button has been checked and then based on th eone checked display an alert. function checkplan(){ if (document.step1.plan[0].checked == true) { $(document).ready( function() { $("#alert_button").submit( function() { jAlert('This is a custom ', 'Alert Dialog'); return false; }); }); } }
  15. I have simple website that uses sessions to update user login information as per the database gets updated when they login and also when they logout. Everything works fine until they close the browser window. The database does not get updated so on the admin side it still shows that they are logged in. What i am tryin to accomplish is to detect and destroy the session when they close the browser as well as update their login information in the database.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.