Search found 755 matches

by alex4orly
Fri Dec 06, 2019 7:11 pm
Forum: Off Topic Section
Topic: Loading csv records into combobox
Replies: 2
Views: 69

Re: Loading csv records into combobox

No, Have not seen this. Anyway, the csv file changes all the time. I now figured out what the code should be, here it is : if(MobileNo == "418344556") { // Load Village element into the Combobox var opt = data[2]; var el = document.createElement("option"); el.textContent = opt; el.value = opt; ddlIt...
by alex4orly
Fri Dec 06, 2019 8:31 am
Forum: Off Topic Section
Topic: Loading csv records into combobox
Replies: 2
Views: 69

Loading csv records into combobox

I have a new page here : http://www.ourvilla.net.au/services.html I need to load options into the Combobox from a csv file. I need some help with a Javascrip function to do that The Combobox id = Combobox1 The csv file is : mobiles.csv The csv file has 4 columns : Mobile Folder Village Log I want th...
by alex4orly
Tue Nov 05, 2019 9:37 pm
Forum: Links and Navigation
Topic: *** SOLVED *** Wrong link executed
Replies: 5
Views: 279

Re: Wrong link executed

Thanks Pablo,

I must apologise to you and the forum, my mistake - it was an old link in the Master_Frame.

All OK now

Thank you
by alex4orly
Tue Nov 05, 2019 7:33 pm
Forum: Links and Navigation
Topic: *** SOLVED *** Wrong link executed
Replies: 5
Views: 279

Re: Wrong link executed

Yes Pablo, The current page - the links works correctly, it is a LIVE website which I update every month on the 7th (Tomorrow for Australia) In Preview mode however the problem shows up - and I am in a bit of panic mode.... Alan, the index page is a html page, and anyway - it is NOT the home page. h...
by alex4orly
Tue Nov 05, 2019 11:27 am
Forum: Links and Navigation
Topic: *** SOLVED *** Wrong link executed
Replies: 5
Views: 279

*** SOLVED *** Wrong link executed

Can't figure out what is wrong here : http://www.beleuramyhome.org.au If prompted, enter villa number 61. On the home page, there are two buttons : Music Station and Village artists I need to update this page, but when I tried to preview the change - clicking on either of those buttons gets an error...
by alex4orly
Thu Oct 31, 2019 7:34 pm
Forum: General Questions
Topic: Strange - goes to the bottom of the page
Replies: 7
Views: 878

Re: Strange - goes to the bottom of the page

Hello again,

That was indeed the problem, but :
1) Why, removing the script "fixes" the problem? Just trying to understand
2) I didn't set auto-focus - or maybe I forgot, it seems this is the default

Thanks Pablo.

BTW - is the problem this attempting to resolve, applicable maybe also in the UK?
by alex4orly
Thu Oct 31, 2019 11:13 am
Forum: General Questions
Topic: Strange - goes to the bottom of the page
Replies: 7
Views: 878

Re: Strange - goes to the bottom of the page

Yes, I can see that but why? When I run it on my local machine it doesn't do it? How do I stop this? There is in source a function : $(document).ready(function() { If I manually remove this - it goes away, but the next time I publish the page, the problem is back Please tell me how to get rid of tha...
by alex4orly
Thu Oct 31, 2019 8:45 am
Forum: General Questions
Topic: Strange - goes to the bottom of the page
Replies: 7
Views: 878

Strange - goes to the bottom of the page

Just started a new project based on the Shanhai template
http://www.ourvilla.net.au/
But, when a visitor comes - th page goes by itself to the bottom of the page...

Any idea why?

Thanks
by alex4orly
Fri Aug 30, 2019 9:19 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 11481

Re: Conditional loading of a Dialog

That's OK, it works fine for me

Thanks again
by alex4orly
Fri Aug 30, 2019 8:27 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 11481

Re: Conditional loading of a Dialog

Yes, I did just that - below is my code, I welcome any comments <script type="text/javascript"> var villafrominput = 0; var flag = true; var user = ""; // This gets executed only if no cookie was found function getvilla() /// ON the OK click { // Get the user input from the dialog user = document.ge...
by alex4orly
Thu Aug 29, 2019 10:31 pm
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 11481

Re: Conditional loading of a Dialog

Yes, this does the trick - although I do noty understand how it works.... Anyway - I want to replace this code: user = prompt("Please enter your Villa Number"); With this : $("#entervilla").dialog("open"); The "Prompt" function is not ver elegant, nor easy to notice poping up at the top of the scree...
by alex4orly
Thu Aug 29, 2019 8:35 am
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 11481

Re: Conditional loading of a Dialog

I must be a real dummy.... I also never used JQuery....
Can't figure it out, so here is my conditional statement :

if (a == '2')
{
The Dialogue ID = entervilla;
it is unchecked to load automaticaly
and I want to make it come up if the condition is met
}

Thanks again
by alex4orly
Wed Aug 28, 2019 11:59 pm
Forum: Off Topic Section
Topic: Conditional loading of a Dialog
Replies: 8
Views: 11481

Conditional loading of a Dialog

I added a Modal dialog onto a page, I have the "Show dialogue Automatically" Unchecked
I want to show / load it to the visitor only based on a Condition (if a == '2') for example inside a Javascript function

I DO NOT want it trigerred by a button click...

Any suggestions?

Thanks
by alex4orly
Sun Aug 25, 2019 11:54 am
Forum: General Questions
Topic: Page view position while working
Replies: 9
Views: 7666

Re: Page view position while working

I was dragging the object into the marker, but when I tried placing the mouse itself while dragging - it works fine

Thanks Pablo