Welcome to the Q&A section

This is the place to post questions and help others with answers. The Wix team will also be on hand to help. To report bugs, please use the feedback form . And be sure to check out our community guidelines .

12 Likes

Hi. I am creating the database and by accident I chose text rather than rich text. I wanted to edit it so tried to so so under Manage Properties but doesn’t seem to allow you to amend. Please advise what I should do. Thanks

Hi Lorraine,
Changing field types is not yet available at this point.
Unfortunately you’ll need to create a new field. Sorry!

So just create a new field with a different name and hide the old ones? Also I submitted a feedback form but I sorted it out. I think When I was switching photos in the database I didn’t add the photo in the correct box hence the error- so ignore that when you see it :wink:

Oh and Thanks! So excited to be using this.

Yes, just add one with a different name and hide the old one.
As for the feedback - that’s actually great. The most important thing for us to capture is what was confusing to you, so keep them coming and don’t be shy!

Thanks Uval You might regret saying that! You’ll be sick to death of me by the end of this. lol!

Is there a way to access $(“div”) ? I want to create my own fade in animations by using jquery $(“div”).animate({height+= 10px, etc});, is this possible to do? Is there another way to do this?

Hi Ethan,

First a bit about the overall philosophy behind Wix Code:
We currently don’t offer access to the underlying raw HTML of your whole Wix site (see more below). The Wix editor is a powerful and easy tool for expressing your desired layout and design, and we have built it with that simplification in mind - The magic of Wix has always been that you don’t need to know the technology (HTML, CSS, hosting, etc) which makes it all possible. With Wix Code we’re offering a programming model which takes the same simplification to the next logical stage - letting you create content-centric sites and write JavaScript without having to deal with the HTML, CSS, browser support, hosting, servers, network, etc. which typically go into web development. We believe this ultimately makes for a better overall developer experience, where you focus on your custom logic, and your logic only, and we take care of all the heavy lifting in making it work.

That said - you have a specific desire, so let’s address it!!

Animations - There are a bunch of animations currently packaged into the system. Take a look at .show() and .hide() here . They let you perform the most common animations on almost any element. We’re considering adding more granular control through parameters to these. Please do shout out in the feature requests section if you don’t find what you’re looking for.

Collapse/Expand - seems like you’re trying to change the height of elements at runtime. Take a look at our Collapse() and Expand() methods here , as they might address what you’re trying to achieve. Keep in mind you can be creative with adding boxes, text, and other elements, making them collapse when you want to pull up all elements below it, or expand when you want to achieve the opposite.

HTML component - if all else fails, we do support raw HTML through the HTML component (see this and this ). If what you’re trying to express can absolutely not be achieved with Wix elements and Wix Code, you can choose this route to embed raw HTML code into your site. To communicate between your Wix Code and the HTML in the component check out the postMessage() and onMessage() capabilities.

Hope that helps,
Uval

on a side note - I’m closing this thread for comments. It’ll be cleaner and more readable to use separate posts for each question. Ethan - If you’d like to continue this discussion let’s open a specific post on it.