sagive 24 Junior Poster in Training

Hey,

i have created a drop down menu that give me hell
and refuses to work in internet explorer..

Can anyone find the error? (its a wordpress website)

Here is the menu itself (as i say.. wordpress):

<div class="topmenu">
<ul id="nav">
<li id="home" <?php if(is_page('home')){echo "class=current_page_item";} ?>><a href="/index.php">דף הבית</a></li>
<?php wp_list_pages('title_li=&sort_column=menu_order&depth=2'); ?>
</ul>
</div>

Here is the javasccript:

$(document).ready(function() {
	$("#nav ul").css({display: "none"}); // Opera Fix
	$("#nav li").hover(function(){
	$(this).find('ul:first').css({visibility: "visible",display: "none"}).show(); },function(){ $(this).find('ul:first').css({visibility: "hidden"}); });
});

here is the Css:

#nav { list-style: none;  margin-top: -7px;}
#nav li { float: left; line-height: 30px;}
#nav li a {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-left: 1px solid;
	padding: 0px 25px;
}

#home a {
    border-right: 1px solid;
}

#nav li ul {
    display: none;
    list-style: none outside none;
    padding: 0;
    position: absolute;
}
#nav li:hover ul, li.sfhover { display: block }

#nav li ul li { 
    background: none repeat scroll 0 0 #264561;
    opacity: 0.8;
    padding: 5px 0;
}

#nav li ul li a { 
	font-size: 12px;
	border: none;
}

I know its a lot of code but would really appreciate any that can
help me since i cant get it to work at internet explorer.

sagive 24 Junior Poster in Training

wow, thanks a lot for your answer.. going to try it now :)

sagive 24 Junior Poster in Training

g'eez... my select statement doesetn work well as i explained in attachment 02..
those are only 2 lines of code so i am hopeing to start fresh... with a clean way of thinking of it..

sagive 24 Junior Poster in Training

sorry - i mean every insertion creates a new raw.. the data is entered into the database using a form and that part works great..

My problem is displaying the data correctly.. (view attachment 02)

sagive 24 Junior Poster in Training

hey guys.. i have trying for 2 weeks now to connect 2 tables
in the way that i need them to print out..

to understand the table structure please see attachment 001

Now... i have managed to join both table but the problem is that each time i insert a new recipe in creates a new completley seperate table and i want all the recipes that belong to "some recipe website" to apear in the same table of the right recipe website.

to understand my problem please see atachment 002

in attachment 002 its also clear to see i need to also show empty recipe websites meaning ones i have yet to submit to otherwise it would easily done with one table and no mass :)

I hope i didnt drove you mad about attachment.. just tought it would be easier to explain that way..

Really need some help here guys so plz (if you can) take a second to help me

sagive 24 Junior Poster in Training

Sorry, Please Ignore and thanks for your help..
i should just change the value i am comparing..

Thanks a lot :)

sagive 24 Junior Poster in Training

Thanks a lot man.. that works beautiflly

Got a question if could help a bit more :)

Can i show the LEFT JOIN value even when the othere table has no
value corresponding..??

am i making any sense?

______________________________________
| valueTABLE1 - |
| valueTABLE1 - valueTABLE2 |
| valueTABLE1 - valueTABLE2 |
| valueTABLE1 - |
| valueTABLE1 - |
---------------------------------------

Hope this makes it a little bit clearer.. got an idea?

Now what i am seeing is the objects on both tables
only when they both exist on both and i want to know where
i still need to insert for the "right (in this expample)" table
becouse the left table has a some value and the right
one is missing it..

sagive 24 Junior Poster in Training

Great Resource twiss, Thanks :)

sagive 24 Junior Poster in Training

Another sure way is to use Zero13 Code and add after table1 <br style="clear: both;" />

sagive 24 Junior Poster in Training

You can ask someone to intall wordpress for you (blog CMS)
then start managing it..

You can probebly find some guy on Fiverr to do that for 5$..

sagive 24 Junior Poster in Training

Hey guys.. i have been having trouble with this script:

$con = mysql_connect("localhost","XXXXXXXXX","XXXXXXXX");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("XXXXXXX", $con);

echo "<table class='viewuserprofiles'>";
echo "<tr>";
echo "<td>שם האתר</td><td>סוג</td><td>קישור</td><td>משתמש</td><td>סיסמה</td><td>תיאור</td>";

$query = "SELECT * FROM ProfilesWebsites, ProfilesAccounts ".
 "FROM ProfilesWebsites LEFT JOIN ProfilesAccounts ".
	"ON ProfilesWebsites.ProfileWebsiteName = ProfilesAccounts.ProfileWebsiteName"; 
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result))
  {
echo "</tr><tr>";
echo "<td>" .$row['ProfileWebsiteName']. "</td>";
echo "<td>" .$row['ProfileWebsiteType']. "</td>";
echo "<td><a href='" . $row['ClientWebsiteUrl'] . "' target='_blank'>קישור לפרופיל</a></td>";
echo "<td>". $row['ProfileWebsiteUser'] ."</td>";
echo "<td>". $row['ProfileWebsitePass'] ."</td>";
echo "<td>". $row['profileWebsiteInfo'] ."</td>";
echo "</tr><tr>";
}

echo "<br style='clear: both' />";
echo "</table>";

if (!$result)
  {
  die('Could not connect: ' . mysql_error());
  }

got MySql 5+..

Can Anyone Spot the problem?

sagive 24 Junior Poster in Training

First i want to thank you again for your help
i know it takes time so 10x a lot

i tried this code and it doeset output any error
But doeset insert any values into the database..

FORM:

echo "<form action='addwebsitekeywordsscript.php' method='post'>";
echo "<input type='hidden' value='" . $currentwebsite . "' name='id' /><br />";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[1]' name='keyword[1]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[1]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he' name='keywordlanguage[1]'>עברית</option>  <option value='en' name='keywordlanguage[1]'>אנגלית</option></select></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[2]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[2]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he' name='keywordlanguage[1]'>עברית</option>  <option value='en' name='keywordlanguage[1]'>אנגלית</option></select></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[3]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[3]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he' name='keywordlanguage[1]'>עברית</option>  <option value='en' name='keywordlanguage[1]'>אנגלית</option></select></div>";
echo "<br style='clear: both' />";
echo "<input type='submit' class='sendbutton' value='הגש טופס' />";
echo "</form>";

SCRIPT:

mysql_select_db("seorgani_maincldb", $con);
mysql_query("SET NAMES 'UTF-8'");

for ($i = 0; $i < MAXINDEX; $i++) {
$sql=sprintf("INSERT INTO KeywordList (keyword, keywordSearch, keywordlanguage) 
VALUES ('%s','%s','%s')", 
  $_POST[keyword][$i],
  $_POST[keywordSeararch][$i],
  $_POST[keywordlanguage][$i]
);
if (!mysql_query($sql,$con))
  {
  die('שגיאה: ' . mysql_error());
  }

}

See Anything wrong ?

sagive 24 Junior Poster in Training

Thanks a lot man!! gona try it now

What if some field is left empty.. any way to integrate into this
script a value check ?

ALSO (again.. thanks for your help)

How do i treat a select feautre in the PHP
meaning how do i use the ID??

sagive 24 Junior Poster in Training

THANK YOU!!!!

That worked perfectly.

Much Appreciated :-)

Happy to help, You got a cool website

Cheers, Sagive

sagive 24 Junior Poster in Training

What does that mean a border around everything????
Please be specific.. which DIV??

DO you mean this > tradeContainer ??
it has no CSS definition..

sagive 24 Junior Poster in Training

What you have is a small problem with the way you ordered stuff..

This div's:
<div id="leftHandColumn">
<div id="secondaryHeader">
<div id="galleryContent">

Should all sit inside one div "container"

Then it would would great!!

What is actually happening is you got (structure simulator :) )

<div> -- NOTHING --
<div> -- NOTHING --
<div> <div to the right>

insted of (putting this 3 into one container):

<div inside me are 3 divs> <div to the right>


i hope this solves your problem..

sagive 24 Junior Poster in Training

Hey guys.. going crazy over this :'(

This is my form

echo "<form action='addwebsitekeywordsscript.php' method='post'>";
echo "<input type='hidden' value='" . $currentwebsite . "' name='id' /><br />";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he'>עברית</option>  <option value='en'>אנגלית</option></select></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he' >עברית</option>  <option value='en'>אנגלית</option></select></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>מילת מפתח:</div> <input type='text' name='keyword[]' class='kywrd1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>חיפושים:</div> <input type='text' name='keywordSearch[]' class='kywrdsrc1' /></div>";
echo "<div class='kywrdformcontnr'><div class='kywrdform'>שפה:</div> <select class='kywrdlang'>  <option value='he'>עברית</option>  <option value='en'>אנגלית</option></select></div>";
echo "<br style='clear: both' />";
echo "<input type='submit' class='sendbutton' value='הגש טופס' />";
echo "</form>";

This is the Mysql Insert code

mysql_select_db("seorgani_maincldb", $con);
mysql_query("SET NAMES 'UTF-8'");
$sql="INSERT INTO KeywordList (id, keyword, keywordSearch, keywordlanguage)
VALUES
('$_POST[id]','$_POST[keyword]','$_POST[keywordSearch]','$_POST[keywordlanguage]')";

if (!mysql_query($sql,$con))
  {
  die('שגיאה: ' . mysql_error());
  }

I need to enter multiple VALUES meaning take the first set of value into the the 1 raw
then the second raw and so on..

I know it wont work this way but have looked for a way to do that
across the web and couldn't find it or i don't know what i am looking for

Any help would be greatly appreciated :idea:

sagive 24 Junior Poster in Training

Great man, 10x a lot :)

sagive 24 Junior Poster in Training

Hey guys.. could someone please help me with..

What wrong with this:

echo "<td width='25%'><img src='images/Lock.png' title='" . $row['username'] . "' - '" . $row['password'] . "'></td>";

i Get only the username..

Cheers, Sagive

sagive 24 Junior Poster in Training

Thanks a lot man.. i can't belive i haven't tried this :)

sagive 24 Junior Poster in Training

Hey guys..

i got this kind of div structure
(Hebrew website)

<div id="main" style="background: #ffffff; padding: 20px;">

 <div id="sidebar" style="float: right;">
 actuall sidebar
 </div>

 <div id="pagecontent" style="float: right">
 some content
 </div>

</div>

My problem..

The contact inside the content / sidebar isn't stretching the "main" div and so.. i got no background for the other div's when the content is long..

This is a Wordpress based website so the content of each page is different
on each page.. also.. i dont want to use table.. <-- old system?

Got any idea's??
what am i missing?

i need to make the "main div" auto height that also works in IE
But leave those div's float side by side..

Your help would be appreciated

sagive 24 Junior Poster in Training

was looking for that link.. just found it

sagive 24 Junior Poster in Training

Yee, it was a "absolute" definition in my css..
Internet explorer has a problem with the - position: absolute
so i had to redesign my Divs so that would enable me to position
those elements without using that order

But thanks for the help :)

sagive 24 Junior Poster in Training

we need a link.. cant really know sizes here.. (sababa? :) )

sagive 24 Junior Poster in Training

Thanks for you help but.. i watch it on a high resulotion..

its not the case and must be an object that isnt align correctly..
trying to fijnd it but havent yet

Demm internet explorer.. always problems

sagive 24 Junior Poster in Training

i got a problem with this site:
http://www.unitext.co.il/translations-services/

only with internet explorer.. i fixed must of the problems
but still got a weird Horizontal Scroller i can find the reason to

Please help :?:

sagive 24 Junior Poster in Training

Men those numbers are annoying :)
first thing.. if you have another div with the same name i would change them and make simepler path of css...

Try this:

.bulb_body {
width : 670px;
background-image : url(../img/body_bg.jpg) repeat-y;
margin-right : auto;
margin-left : auto;
}

.bulb_body_left {
width: 400px;
float: left;
}

.bulb_body_right {
width: 270px;
float: right;
}
DarkBerzerk commented: V.Good +1
sagive 24 Junior Poster in Training

why not use the <p> tag within the text? it loads to an php file right?

AndreRet commented: Thanks, did that, now solved. +7
sagive 24 Junior Poster in Training

i dont understand the question??

if you want to align the the text within th li just add a css style

in page or on a style css like this

<style>
.example {text-align: justify;}  <!--=== for example ===-->
</style>

<ul class="example">
<li>yourcontent</li>
</ul

if your trying to align the img to the top you
you should also use CSS like this

<style>
.myimg {vertical-align: top;}
</style>

<IMG title="" border="0" alt="" align="top" src="img01.jpg" width="150" height="90" class="myimg" />
sagive 24 Junior Poster in Training

i think teedoff is right.. you should really use divs which you have defind with height and width to create virtual borders and then use margin-left / right and float attributes to position elements

sagive 24 Junior Poster in Training

you can check what google considers your prime keywords using google webmaster tools..

activating them would need you to verify your website via ftp (uploading file)
or via the code (inserting a link)..

then wait a bit for the next time google scans your website and you will get a list of the keywords google thinks are most common / relevant in your website..among other statistics and information which are very useful..

Good luck, hope this helps

sagive 24 Junior Poster in Training

I think danyweb offers a great ever changing ever growing content so i would not worry. Google might try variations of it's search results but in the end they must supply what we search for and that is quality content, great conversations and loyal community and I think danyweb got it all... Wouldn't worry.. Give it 10 to 14 days

sagive 24 Junior Poster in Training

building links where people can view them and might click them would increase your traffic. you shouldn't think how to bring traffic but how to create content that interest people and then link to it from a variety of places meaning help people find that content.

sagive 24 Junior Poster in Training

Great advice guys...

i work as an seo expert in the world arena..

i would start with re-designing the website changeing font size
where its needed. imporving graphics.. try to let some friends that
doesent know the website to have a look.. fresh advice are really good
when talking about structure.

as InsightsDigital wrote the website is a bit cluttered..

than you should start building links in related conversations
about job finding in those city you offered..

sagive 24 Junior Poster in Training

Wow you guys help me enrich my music collection :)

I like jack johnson, Jose feliciano, guns n roses, pink Floyd, the commitments, eminem, Kt tunstall, James Taylor, Ottis redding, Ray Charles, John lenon, Lynard skyward, Aerosmith, and more...

sagive 24 Junior Poster in Training

I use only notepad ++
and notepad...

Killer combination :)

sagive 24 Junior Poster in Training

I think you mostly need content builder which you would teach how to run blogs and get data... Best idea is to take a real look at the volume of your work and unless you have to... take outside content writers,,,

If you can manage with one worker i would start there

sagive 24 Junior Poster in Training

Start with building an identity on Facebook twitter, linkedin and google profile. Them move on to link building.. On that you can find a million articles online all with a bit more information and also keep building your website with new useful original data

And... Good luck

Cheers
Sagive

sagive 24 Junior Poster in Training

Worldbook?? Isn't that an encyclopedia ... Weird one also. Are you advertising? :)

sagive 24 Junior Poster in Training

What.. Google permits?!!

Sure its ok and google can read anything you put on your website
Including part of flash, CSS, JavaScript and more

If its good for the users go for it.

The only thing google might punish a website for is trying to manipulate search results. From a website point of view that means buying link that aren't meant to drive traffic of clocking text so users can't see it but google can .. Etc..

Hope this helps
Cheers, sagive

sagive 24 Junior Poster in Training

It works great but takes time until all links pointing to your old page / website redirect their link juice...
Google see the redirect as soon as you make it and get crawled

If your talking about the whole structure of a website which is not
The case if i read you right then...

Let's say it's the best solution in case you have no choice and
Want to switch to a new website... Tried it four time. All with
Good success after 45 days ;)

Hope this helps..
Cheers, sagive

sagive 24 Junior Poster in Training

You should really do that with CSS...
Example:

<table style="width: 100px;">

Hope this helps... Got a question?

sagive 24 Junior Poster in Training

I dont think most people approve push alerts on twitter or Facebook where only direct responses on link/text/image by the user wool lead to a push alert....

Blogging on the other hand and especially your blog is your very own stage where you publish news and tell about changes... No doubt it takes more time and energy but i think is well worth it

sagive 24 Junior Poster in Training

Fine answer canadafred...(for real)
Really liked it. Nothing to hide... Seo is much then that and must be
In order to get results. In actuality a lot of the current web articles were written by Seo as are a lot of websites offering price compare and other leads creating tactics... Apart from the google goal to collect all human kind knowledge the web is also a business... The biggest business ever and so... Seo must play a part :)

Apart from correct web design or what google consider correct web design all web marketing tactics were meant to manipulate the search engine or help it to find us most suitable

sagive 24 Junior Poster in Training

About tools like bookmark demon i say automation is great but be carful not to spam... The idea behind bookmarking is that people love your site and bookmarked it on their own.

So... If you have a site with unchanged content And low bookmarking history on top of unchanged search engine positions it might be smarter to do things slowly

Cheers, sagive

sagive 24 Junior Poster in Training

i think it shows google rank of your website...
no matter how many times they say its not important its still a measure

sagive 24 Junior Poster in Training

Great answers guys... ;)

Just to add something... 3-4 months ago both google and bing declared that they do take into account social signal so it's great from the costumer point of view and also from an Seo point of view...

I have a client of mine which i have teaches to add he's clients to Facebook and now they chat with him when they need a service.. Now days he leave he's Facebook open all day long - it's good for business :)

Cheers, sagive

sagive 24 Junior Poster in Training

Why want arnt you able to import into facebook? Have you tried rss graffiti?
Try it.. If you get a validation error try making your rss feed show exrecpt instead of full posts

Good luck

sagive 24 Junior Poster in Training

I think you easily use google docs since making permission for each user would be a drag unless you have a word press based website ...

sagive 24 Junior Poster in Training

Looks great to me...

In order to lock a height you need to define it via CSS
Maybe even use an important tag so it wont get run
Over by other attributes

Like so
.somediveclass table td

{height:100px !important}

Hope this helps..