Search found 131 matches

Go to advanced search

by Lars Holtet
Sat Jan 14, 2017 12:54 am
Forum: Issues
Topic: Simple login script without database
Replies: 9
Views: 1224
 
Jump to post

Simple login script without database

Thanks! I just need to hardcode 1 user to go to one certain page, am i on the right direction?

Image

by Lars Holtet
Fri Jan 13, 2017 1:16 pm
Forum: Issues
Topic: Simple login script without database
Replies: 9
Views: 1224
 
Jump to post

Simple login script without database

Hi!

Does anybody have an example for a simple js loginscript without a DB with the jquery input Fields? Users can be "hardcoded", no registration.

by Lars Holtet
Tue Jan 10, 2017 1:33 pm
Forum: Issues
Topic: How to open local PDF files without database iOS
Replies: 1
Views: 498
 
Jump to post

How to open local PDF files without database iOS

Hi!

I want to store local pdf files within the app, i dont want to use the internet/online databases.

I tried this but it doesnt work for iOS.

window.open("pdf/mypdf.pdf", '_system');

any suggestions?

by Lars Holtet
Tue Jan 10, 2017 12:28 pm
Forum: Issues
Topic: Make a background not repeat itself
Replies: 2
Views: 541
 
Jump to post

Make a background not repeat itself

Solved! Complete code: $('div[dsid="mobilecontainer"]').css('background-image', 'url("img/bg3.png")'); $('div[dsid="mobilecontainer"]').css('background-repeat', 'not-repeat'); $('div[dsid="mobilecontainer"]').css('background-attachment', 'fixed');
by Lars Holtet
Tue Jan 10, 2017 12:11 pm
Forum: Issues
Topic: Make a background not repeat itself
Replies: 2
Views: 541
 
Jump to post

Make a background not repeat itself

I tried to add this:

$('div[dsid="mobilecontainer"]').css('background-repeat',
'no-repeat');

But then i only got a white background below the background pic when scrolling..

I want everything to be scrollable on the background :P

by Lars Holtet
Tue Jan 10, 2017 12:08 pm
Forum: Issues
Topic: Make a background not repeat itself
Replies: 2
Views: 541
 
Jump to post

Make a background not repeat itself

Hi! I have set a custom background in my app, but if you scroll far down- it will repeat it self..

How and what do i add to the code to make it stop repeat iself?

This is my code:

$('div[dsid="mobilecontainer"]').css('background-image',
'url("img/bg3.png")');

by Lars Holtet
Sat Jan 07, 2017 1:17 pm
Forum: Issues
Topic: How do i use a checkbox to show input fields below?
Replies: 1
Views: 485
 
Jump to post

How do i use a checkbox to show input fields below?

I want to make a checkbox wich says "I have read the terms"

After that i want it to enable/show input fields below. How will that code be?

by Lars Holtet
Fri Jan 06, 2017 6:36 pm
Forum: Issues
Topic: Add static text in javascript with variables, and make line breaks
Replies: 2
Views: 587
 
Jump to post

Add static text in javascript with variables, and make line breaks

Looking at this page helped :)

var newLine = escape("\n");
var body = "Hello" + newLine +"World";

did it ;)

by Lars Holtet
Thu Jan 05, 2017 5:17 pm
Forum: Issues
Topic: Add static text in javascript with variables, and make line breaks
Replies: 2
Views: 587
 
Jump to post

Add static text in javascript with variables, and make line breaks

Hi! Im currently making an email form that calls some input fields that goes in to the e-mail app on ios. Looks like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1532826/1_inline.PNG?1483636692 The code is like this: var address = confirm("Er du sikker på at alle opplysningene er rikti...
by Lars Holtet
Wed Oct 28, 2015 1:37 pm
Forum: Issues
Topic: Rendering listview size and centering
Replies: 7
Views: 784
 
Jump to post

Rendering listview size and centering

Ok. do you have any code suggestion to change size on the thumbnails? struggeling to change the size on them so they fit the listview size as shown on the image :)

Go to advanced search